Snapshot of the remote profile details captured when a user connected a social login provider to their account. Wraps the raw details stored on a SignatureCredential together with the provider name, the remote user's id, and the path used to pull a display name out of the details map. Instances are built on demand by SocialLoginApp.getOAuthDetails and are read-only.


Properties

PropertyReturnsDescription
detailsMapRaw profile details returned by the remote provider when the account was connected, parsed from the credential's stored JSON. Null if the credential has no stored details.
displayNamePathStringPath used to pull a display name out of the details map. Falls back to "displayName" when the provider this credential belongs to does not configure its own path.
providerStringIdentifier of the provider this connection was made through, for example "facebook" or "twitter".
userIdStringThe remote provider's unique identifier for the connected account, taken from the credential's signature.

Methods

getDetails()

Returns: Map

Raw profile details returned by the remote provider when the account was connected, parsed from the credential's stored JSON. Null if the credential has no stored details.

getProvider()

Returns: String

Identifier of the provider this connection was made through, for example "facebook" or "twitter".

getUserId()

Returns: String

The remote provider's unique identifier for the connected account, taken from the credential's signature.

getDisplayNamePath()

Returns: String

Path used to pull a display name out of the details map. Falls back to "displayName" when the provider this credential belongs to does not configure its own path.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.