vertx / io.vertx.rxjava.ext.auth.oauth2 / OAuth2Auth / decodeToken

# decodeToken

`open fun decodeToken(token: String, handler: Handler<AsyncResult<AccessToken>>): OAuth2Auth`

Decode a token to a io.vertx.rxjava.ext.auth.oauth2.AccessToken object. This is useful to handle bearer JWT tokens.

### Parameters

`token` - the access token (base64 string)

`handler` - A handler to receive the event

Return
self