@Extension(ordinal=0.0) public class SimpleJwtAuthenticationStore extends JwtAuthenticationStoreFactory implements JwtAuthenticationStore
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
SimpleJwtAuthenticationStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String id,
Authentication authentication) |
Authentication |
get(String id) |
Authentication |
getAuthentication(Map<String,Object> claims)
Given JWT claim give the authentication object
|
JwtAuthenticationStore |
getJwtAuthenticationStore(Authentication authentication)
Resolves
JwtAuthenticationStore for given Authentication instance. |
JwtAuthenticationStore |
getJwtAuthenticationStore(Map<String,Object> claims)
Resolves
JwtAuthenticationStore for given Authentication instance. |
void |
store(Authentication authentication,
Map<String,Object> claims)
Store authentication related information in JWT claims
|
allpublic void add(String id, Authentication authentication)
public Authentication get(String id)
public Authentication getAuthentication(Map<String,Object> claims)
JwtAuthenticationStoregetAuthentication in interface JwtAuthenticationStoreclaims - JWT claimpublic void store(Authentication authentication, Map<String,Object> claims)
JwtAuthenticationStorestore in interface JwtAuthenticationStoreclaims - JWT claimpublic JwtAuthenticationStore getJwtAuthenticationStore(Map<String,Object> claims)
JwtAuthenticationStoreFactoryJwtAuthenticationStore for given Authentication instance.getJwtAuthenticationStore in class JwtAuthenticationStoreFactoryclaims - JWT claimspublic JwtAuthenticationStore getJwtAuthenticationStore(Authentication authentication)
JwtAuthenticationStoreFactoryJwtAuthenticationStore for given Authentication instance.getJwtAuthenticationStore in class JwtAuthenticationStoreFactoryauthentication - Authentication instanceCopyright © 2016–2021. All rights reserved.