public interface Identity
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getAttributes()
Returns the JSON representation of the identity attributes.
|
String |
getMappedSubject()
Returns the subject as set by a
IdentityMappingPlugin. |
OAuthTokenMetadata |
getOAuthTokenMetadata()
Returns additional data about an OAuth token when the authentication source is OAuth.
|
SessionStateSupport |
getSessionStateSupport()
Returns the session state for the exchange.
|
String |
getSubject()
Returns the subject for the authenticated identity.
|
Instant |
getTokenExpiration()
Returns the expiration time presented from the authentication source.
|
String |
getTokenId()
Returns the unique ID presented in the authentication token.
|
String |
getTrackingId()
Returns the tracking identifier used in the PingAccess logs for this identity.
|
void |
setMappedSubject(String subject)
Called by a
IdentityMappingPlugin to set the subject. |
String getSubject()
com.fasterxml.jackson.databind.JsonNode getAttributes()
String getMappedSubject()
IdentityMappingPlugin. The
returned value may be null if identity mapping was not configured for the request. The value may be an empty
string if the configured IdentityMappingPlugin was unable to
find a mapped subject for the identity.void setMappedSubject(String subject)
IdentityMappingPlugin to set the subject.subject - the subject as mapped by an IdentityMappingOAuthTokenMetadata getOAuthTokenMetadata()
String getTrackingId()
String getTokenId()
Instant getTokenExpiration()
SessionStateSupport getSessionStateSupport()
Copyright 2023 Ping Identity Corp. All rights reserved.