@Extension public class JwtAuthenticationServiceImpl extends JwtAuthenticationService
JwtAuthenticationServiceExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
JwtAuthenticationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
net.sf.json.JSONObject |
getJwkSet()
Binds Json web keys to the URL space.
|
static JwtAuthenticationStore |
getJwtStore(org.springframework.security.core.Authentication authentication) |
JwtToken |
getToken(Integer expiryTimeInMins,
Integer maxExpiryTimeInMins)
Gives JWT token for authenticated user.
|
getJwks, getUrlNamepublic JwtToken getToken(@Nullable @QueryParameter(value="expiryTimeInMins") Integer expiryTimeInMins, @Nullable @QueryParameter(value="maxExpiryTimeInMins") Integer maxExpiryTimeInMins)
JwtAuthenticationServicegetToken in class JwtAuthenticationServiceexpiryTimeInMins - token expiry time. Default 30 min.maxExpiryTimeInMins - max token expiry time. Default expiry time is 8 hours (480 mins)public net.sf.json.JSONObject getJwkSet()
JwtAuthenticationServicegetJwkSet in class JwtAuthenticationServicepublic String getIconFileName()
public String getDisplayName()
public static JwtAuthenticationStore getJwtStore(org.springframework.security.core.Authentication authentication)
Copyright © 2016–2023. All rights reserved.