Class UserInfoOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.UserInfoOAuthEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event posted when an oauth-userinfo is successfully queried.
- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get the ID of the account corresponding to the authenticated subject.Get allAuditDataassociated with this auditable event.Get the authenticated subject, i.e., the subject value returned by authentication and stored in the delegation.Get the unfiltered claims produced by the presented token.Deprecated.since 4.1.0Get the subject of the presented token.Methods inherited from class se.curity.identityserver.sdk.data.events.OAuthEvent
getProfileId, getRequestingClientId, getRequestingClientName, getRequestingSubject, putIfNotNull, toString
-
Constructor Details
-
UserInfoOAuthEvent
-
-
Method Details
-
getSubject
Get the subject of the presented token.- Returns:
- the token subject
-
getAuthenticatedSubject
Get the authenticated subject, i.e., the subject value returned by authentication and stored in the delegation. Note that this value may be different from user info subject when pseudo-anonymization is used.- Returns:
- the authenticated subject
- Since:
- 9.0
-
getClaims
Get the unfiltered claims produced by the presented token.- Returns:
- the unfiltered claims
-
getReturnedClaims
Deprecated.since 4.1.0Get the claims produced by the presented token and returned to the requester. These claims are filtered by scope.- Returns:
- the returned claims
-
getAccountId
Get the ID of the account corresponding to the authenticated subject. Returnsnullif no account was resolved.- Returns:
- the account ID, or
null
-
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 classOAuthEvent- 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.
-