public interface JWTAuthHandler extends AuthenticationHandler
Modifier and Type | Method and Description |
---|---|
static JWTAuthHandler |
create(JWTAuth authProvider)
Create a JWT auth handler
|
static JWTAuthHandler |
create(JWTAuth authProvider,
String realm)
Create a JWT auth handler
|
JWTAuthHandler |
scopeDelimiter(String delimiter)
Return a new instance with the internal state copied from the caller but the scopes delimiter set
to be unique to the instance.
|
JWTAuthHandler |
withScope(String scope)
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token
request are unique to the instance.
|
JWTAuthHandler |
withScopes(List<String> scopes)
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token
request are unique to the instance.
|
static JWTAuthHandler create(JWTAuth authProvider)
authProvider
- the auth provider to usestatic JWTAuthHandler create(JWTAuth authProvider, String realm)
authProvider
- the auth provider to useJWTAuthHandler scopeDelimiter(String delimiter)
delimiter
- scope delimiter.JWTAuthHandler withScope(String scope)
scope
- scope.JWTAuthHandler withScopes(List<String> scopes)
scopes
- scopes.Copyright © 2024 Eclipse. All rights reserved.