@Extension public class JwtAuthenticationServiceImpl extends JwtAuthenticationService
JwtAuthenticationService| Constructor and Description |
|---|
JwtAuthenticationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
static JwtAuthenticationStore |
getJwtStore(org.acegisecurity.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 String getIconFileName()
public String getDisplayName()
public static JwtAuthenticationStore getJwtStore(org.acegisecurity.Authentication authentication)
Copyright © 2016–2019. All rights reserved.