Skip to content

mithio/vault-android-sdk

Repository files navigation

VAULT SDK for Android

This open-source library allows you to integrate VAULT into your app. Learn more about about the provided samples, documentation, integrating the SDK into your app, and more at deck slide

FEATURE

INSTALLATION

  • Add the JitPack repository to your build.gradle repositories:
repositories {
    // ...
    maven { url "https://jitpack.io" }
}
  • Add the core dependency:
dependencies {
    compile 'com.github.mithio:vault-oauth-android:{lastest-version}'
}
  • Add the Vault SDK redirect scheme to gradle config
defaultConfig {
    // ...
    manifestPlaceholders = [
        'appAuthRedirectScheme': 'vault-{client-id}'
    ]
}

USAGE

configure the sdk with:

VaultSDK.configure(
                context = context,
                clientId = {client-id},
                clientSecret = {client-secret},
                miningKey = {mining-key}
        )

and you are ready to call:

VaultSDK.getAccessToken(activity)

to get oauth access token

GIVE FEEDBACK

Please report bugs or issues to hackathon@mith.io

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors