toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
core
/
io.snabble.sdk.auth
/
TokenRegistry
Token
Registry
open
class
TokenRegistry
Members
Constructors
Token
Registry
Link copied to clipboard
constructor
(
okHttpClient
:
OkHttpClient
,
userPreferences
:
UserPreferences
,
appId
:
String
,
secret
:
String
)
Functions
get
Token
Link copied to clipboard
@
Nullable
open
fun
getToken
(
@
Nullable
project
:
Project
)
:
Token
Synchronously retrieves a token for the project.
invalidate
Link copied to clipboard
open
fun
invalidate
(
)