authorize
fun authorize( accessToken: String, expiryInSeconds: Int?, handler: CompletionHandler<Void>)
Content copied to clipboard
Sets the token on the authorization strategy, overriding any existing access token.
Since
3.2.0
Parameters
access Token
The new Access Token to use.
expiry In Seconds
Optional expiry time of the token in seconds. This defaults to two days.
handler
to be executed when an operation is completed