Class IdTokenOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.TokenOAuthEvent
se.curity.identityserver.sdk.data.events.IdTokenOAuthEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
IssuedIdTokenOAuthEvent
Common base class for OpenID Connect ID token events.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionIdTokenOAuthEvent(Instant created, Instant expires, String purpose, String issuer, String subject, List<String> audience, Map<String, Object> claims, String jti, Instant notBefore, ClientIdentifier requestingClientIdentifier, @Nullable String requestingSubject, String profileId) -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.TokenOAuthEvent
getAudience, getClaims, getCreated, getExpires, getIssuer, getPurpose, getSubjectMethods inherited from class se.curity.identityserver.sdk.data.events.OAuthEvent
getProfileId, getRequestingClientId, getRequestingClientName, getRequestingSubject, toString
-
Constructor Details
-
IdTokenOAuthEvent
-
-
Method Details
-
getJti
Get the JWT ID (jti) of the token.- Returns:
- the JWT ID of the token
-
getNotBefore
Get theInstantbefore which the token is not allowed to be used.- Returns:
- the
Instantbefore which the token is not allowed to be used
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classTokenOAuthEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-