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.
Inherited Constant Summary
Public Method Summary
abstract Map<String, Object> |
getProfile()
Returns a
Map
containing IDP-specific user data if the provider is one of Facebook, GitHub,
Google, Twitter, Microsoft, or Yahoo.
|
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
|
Inherited Method Summary
Public Methods
public abstract Map<String, Object> getProfile ()
Returns a Map
containing
IDP-specific user data if the provider is one of Facebook, GitHub, Google, Twitter,
Microsoft, or Yahoo.
public abstract String getProviderId ()
Returns the provider ID for specifying which provider the information in
getProfile()
is for.
public abstract String getUsername ()
Returns the username if the provider is GitHub or Twitter
public abstract boolean isNewUser ()
Returns whether the user is new or existing