Interface AuthorizationProvider.JwtAuthorizationProvider

All Superinterfaces:
AuthorizationProvider
Enclosing interface:
AuthorizationProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AuthorizationProvider.JwtAuthorizationProvider extends AuthorizationProvider
An JWT based authorization provider. The JWT is sent to the backend to be able to do operations requiring authorization such as FIDO UAF registration or de-registration.
  • Method Details

    • createBearer

      Returns a new AuthorizationProvider.JwtAuthorizationProvider that uses the provided Jwt as a bearer token (see RFC 6750).
      Parameters:
      jwt - the Jwt
      Returns:
      a new AuthorizationProvider.JwtAuthorizationProvider
    • jwt

      Jwt jwt()
      Returns the JWT.
      Returns:
      the JWT