@Extension public class JwtImpl extends JwtAuthenticationService
| Modifier and Type | Class and Description |
|---|---|
class |
JwtImpl.JwkFactory |
| Constructor and Description |
|---|
JwtImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
JwtImpl.JwkFactory |
getJwks(String name)
Gives Json web key.
|
JwtToken |
getToken(Integer expiryTimeInMins,
Integer maxExpiryTimeInMins)
Gives JWT token for authenticated user.
|
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)JwtTokenpublic JwtImpl.JwkFactory getJwks(String name)
JwtAuthenticationServicegetJwks in class JwtAuthenticationServicename - keyId of the keypublic String getIconFileName()
public String getDisplayName()
Copyright © 2016–2017. All rights reserved.