provideAccessToken

abstract fun provideAccessToken(userId: String, completion: Completion<String>)

Called when a new access token is requested

Parameters

userId

String the userId of the user that the token should be retrieved for

completion

Completion completion block to be used to respond to the access token request or where notify that an error occurred during the token retrieval process