Object that contains additional user information as a result of a successful sign-in, link, or re-authentication operation.
Available information contained within depends on the provider with which a sign-in, link, or re-authenticate operation was most recently done.
| abstract Map<String, Object> |
getProfile()
Returns a
Map
containing IDP-specific user data if the provider is one of Facebook, Github,
Google, or Twitter.
|
| abstract String |
getProviderId()
Returns the provider ID for specifying which provider the information in
getProfile() is for.
|
| abstract String |
getUsername()
Returns the username if the provider is Github or Twitter
|
| abstract boolean |
isNewUser()
Returns whether the user is new or existing
|
Returns a Map containing
IDP-specific user data if the provider is one of Facebook, Github, Google, or
Twitter.
Returns the provider ID for specifying which provider the information in
getProfile()
is for.
Returns the username if the provider is Github or Twitter
Returns whether the user is new or existing