authorize

fun authorize(jwt: String, handler: CompletionHandler<Void>)

Sets the JWT access token on the authorization strategy, overriting any existing access token. JWT access token should contain the exp field to pass validation.

Since

0.1

Parameters

jwt

the new JSON Web Token to use.

handler

to be executed when an operation is completed