Class IssuedAccessTokenOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.TokenOAuthEvent
se.curity.identityserver.sdk.data.events.AccessTokenOAuthEvent
se.curity.identityserver.sdk.data.events.IssuedAccessTokenOAuthEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event posted when an OAuth refresh token is issued.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionIssuedAccessTokenOAuthEvent(String accessTokenValue, Instant created, Instant expires, String purpose, String issuer, String subject, List<String> audience, Map<String, Object> claims, Instant notBefore, String scope, String clientId, Delegation delegation, ClientIdentifier requestingClientIdentifier, String requestingSubject, String profileId) -
Method Summary
Modifier and TypeMethodDescriptionGet the issued token value.Get allAuditDataassociated with this auditable event.Methods inherited from class se.curity.identityserver.sdk.data.events.AccessTokenOAuthEvent
asMap, getClientId, getDelegation, getNotBefore, getScopeMethods 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
-
IssuedAccessTokenOAuthEvent
public IssuedAccessTokenOAuthEvent(String accessTokenValue, Instant created, Instant expires, String purpose, String issuer, String subject, List<String> audience, Map<String, Object> claims, Instant notBefore, String scope, String clientId, Delegation delegation, ClientIdentifier requestingClientIdentifier, String requestingSubject, String profileId)
-
-
Method Details
-
getAccessTokenValue
Get the issued token value. This is sensitive data and should not be logged.- Returns:
- The value of the issued access token
- Since:
- 5.1.0
-
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
-