@Extension public class JwtAuthenticationServiceImpl extends JwtAuthenticationService
JwtAuthenticationService
Modifier and Type | Class and Description |
---|---|
static class |
JwtAuthenticationServiceImpl.JwtResponse |
Constructor and Description |
---|
JwtAuthenticationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getIconFileName() |
static JwtAuthenticationStore |
getJwtStore(org.acegisecurity.Authentication authentication) |
JwtAuthenticationServiceImpl.JwtResponse |
getToken(Integer expiryTimeInMins,
Integer maxExpiryTimeInMins)
Gives JWT token for authenticated user.
|
getJwks, getUrlName
public JwtAuthenticationServiceImpl.JwtResponse getToken(@Nullable @QueryParameter(value="expiryTimeInMins") Integer expiryTimeInMins, @Nullable @QueryParameter(value="maxExpiryTimeInMins") Integer maxExpiryTimeInMins)
JwtAuthenticationService
getToken
in class JwtAuthenticationService
expiryTimeInMins
- 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–2018. All rights reserved.