Class IDTokenImpl
- java.lang.Object
-
- org.oa4mp.delegation.common.token.impl.TokenImpl
-
- org.oa4mp.delegation.common.token.impl.IDTokenImpl
-
- All Implemented Interfaces:
Serializable
,NewToken
,Token
public class IDTokenImpl extends TokenImpl
This is used for ID tokens. Note that this is mostly used in the exchange endpoint because of the signature of Java methods. At some point it should probably get used more widely.Created by Jeff Gaynor
on 10/13/23 at 6:24 AM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.oa4mp.delegation.common.token.impl.TokenImpl
EXPIRES_AT, IS_JWT, JTI, PAYLOAD, TOKEN, TOKEN_TYPE
-
Fields inherited from interface org.oa4mp.delegation.common.token.NewToken
OLD_SYSTEM_DEFAULT_LIFETIME
-
-
Constructor Summary
Constructors Constructor Description IDTokenImpl()
IDTokenImpl(String sciToken, URI jti)
IDTokenImpl(URI token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getTokenType()
-
Methods inherited from class org.oa4mp.delegation.common.token.impl.TokenImpl
createString, decodeToken, encodeToken, equals, fromJSON, getExpiresAt, getIssuedAt, getJti, getJTIAsIdentifier, getLifetime, getPayload, getToken, getURIToken, getVersion, hasPayload, init, isExpired, isJWT, isOldVersion, main, newFromJSON, newToJSON, oldFromJSON, oldToJSON, setExpiresAt, setIssuedAt, setJti, setJWT, setLifetime, setPayload, setToken, setToken, setVersion, toJSON, toString
-
-