Interface NewToken
-
- All Superinterfaces:
Serializable,Token
- All Known Subinterfaces:
AccessToken,AuthorizationGrant,RefreshToken
- All Known Implementing Classes:
AccessTokenImpl,AuthorizationGrantImpl,IDTokenImpl,RefreshTokenImpl,TokenImpl
public interface NewToken extends Token
Created by Jeff Gaynor
on 11/9/20 at 8:34 AM
-
-
Field Summary
Fields Modifier and Type Field Description static longOLD_SYSTEM_DEFAULT_LIFETIME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecodeToken(String rawb64String)StringencodeToken()voidfromJSON(net.sf.json.JSONObject json)longgetIssuedAt()URIgetJti()edu.uiuc.ncsa.security.core.IdentifiergetJTIAsIdentifier()longgetLifetime()StringgetVersion()booleanisExpired()net.sf.json.JSONObjecttoJSON()
-
-
-
Field Detail
-
OLD_SYSTEM_DEFAULT_LIFETIME
static final long OLD_SYSTEM_DEFAULT_LIFETIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isExpired
boolean isExpired()
-
getVersion
String getVersion()
-
getLifetime
long getLifetime()
-
getIssuedAt
long getIssuedAt()
-
toJSON
net.sf.json.JSONObject toJSON()
-
fromJSON
void fromJSON(net.sf.json.JSONObject json)
-
decodeToken
void decodeToken(String rawb64String)
-
encodeToken
String encodeToken()
-
getJti
URI getJti()
-
getJTIAsIdentifier
edu.uiuc.ncsa.security.core.Identifier getJTIAsIdentifier()
-
-