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
- Add the JitPack repository to your
build.gradlerepositories:
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}'
]
}
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
Please report bugs or issues to hackathon@mith.io