Class IntrospectionOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.TokenOAuthEvent
se.curity.identityserver.sdk.data.events.IntrospectionOAuthEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event posted when a token is introspected.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionIntrospectionOAuthEvent(Instant created, Instant expires, String purpose, String issuer, String subject, List<String> audience, Map<String, Object> claims, Instant notBefore, String scope, String clientId, ClientIdentifier requestingClientIdentifier, Delegation delegation, String profileId) -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get allAuditDataassociated with this auditable event.Get the ID of the client the token was issued to.Get theDelegationthat was used for creating the token.Get theInstantbefore which the token is not allowed to be used.getScope()Get the scope of the token as a space-separatedStringMethods 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
-
IntrospectionOAuthEvent
-
-
Method Details
-
getNotBefore
Get theInstantbefore which the token is not allowed to be used.- Returns:
- the
Instantbefore which the token is not allowed to be used
-
getScope
Get the scope of the token as a space-separatedString- Returns:
- the scope of the token
-
getClientId
Get the ID of the client the token was issued to.- Returns:
- the ID of the client the token was issued to
-
getDelegation
Get theDelegationthat was used for creating the token.- Returns:
- the token's
Delegation
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
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.
-