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

# hasJWTToken

`open fun hasJWTToken(): Boolean`

Returns true if this provider supports JWT tokens as the access_token. This is typically true if the provider implements the `openid-connect` protocol. This is a plain return from the config option jwtToken, which is false by default. This information is important to validate grants. Since pure OAuth2 should be used for authorization and when a token is requested all grants should be declared, in case of openid-connect this is not true. OpenId will issue a token and all grants will be encoded on the token itself so the requester does not need to list the required grants.

Return
true if openid-connect is used.