Interface AuthorizationProvider
- All Known Subinterfaces:
AuthorizationProvider.CookieAuthorizationProvider
,AuthorizationProvider.EmptyAuthorizationProvider
,AuthorizationProvider.JwsAuthorizationProvider
,AuthorizationProvider.JwtAuthorizationProvider
public interface AuthorizationProvider
Provides the authorization elements required to perform protected operations. For
instance, when registering FIDO UAF credentials, the HTTP client must authenticate to obtain
some authorization tokens (HTTP cookies, JWT, etc.). The client can access the protected
resource (the FIDO UAF registration endpoints in this case) by providing these authorization
elements.
Some operations can also can generate AuthorizationProvider
that the application can use to access protected resources. This is the case typically of
authentication: once the authentication is completed, some authorization tokens might have
been granted.
Currently cookie and JWT based authorization is supported.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
An HTTP cookie based authorization provider.static interface
AnAuthorizationProvider
providing no authorization.static interface
An authorization provider using JWS to do the authorization.static interface
An JWT based authorization provider.