module

Authly::TokenVerifier

Turns a presented bearer token into verified claims. Implement it to plug in another verification scheme (a remote introspection call, a key set fetched from elsewhere).

Instance methods

verify(token : String) : Claims | Nil

The claims of a valid access token, nil for a token that is not one. Raises VerificationUnavailable when it cannot tell.

Source