Package io.jenkins.blueocean.auth.jwt
Interface JwtAuthenticationStore
- All Known Implementing Classes:
SimpleJwtAuthenticationStore
public interface JwtAuthenticationStore
An authentication store for Jwt, authentication provider implements this extension point to store enough information
in JWT claim so that later on when the token verification happens, using this same claims this authentication object
can be re-created.
- Author:
- Vivek Pandey
- See Also:
-
Authentication
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
getAuthentication
(Map<String, Object> claims) Given JWT claim give the authentication objectvoid
Store authentication related information in JWT claims
-
Method Details
-
getAuthentication
Given JWT claim give the authentication object- Parameters:
claims
- JWT claim- Returns:
- Authentication object, always non-null
-
store
void store(org.springframework.security.core.Authentication authentication, Map<String, Object> claims) Store authentication related information in JWT claims- Parameters:
claims
- JWT claim
-