Interface AuthorizationProvider.CookieAuthorizationProvider
- 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.CookieAuthorizationProvider
extends AuthorizationProvider
An HTTP cookie based authorization provider. The cookies are sent to the backend to be able to
do operations requiring authorization such as FIDO UAF registration or de-registration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.nevis.mobile.sdk.api.authorization.AuthorizationProvider
AuthorizationProvider.CookieAuthorizationProvider, AuthorizationProvider.EmptyAuthorizationProvider, AuthorizationProvider.JwsAuthorizationProvider, AuthorizationProvider.JwtAuthorizationProvider
-
Method Summary
-
Method Details
-
cookies
The cookies that can be used to do authorization.- Returns:
- the cookies
-
create
Returns a newCookieAuthorizationProvider
.- Parameters:
cookies
- the list of cookies that must be used as authorization tokens- Returns:
- a new
CookieAuthorizationProvider
-