public final class AuthIdentity
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static AuthIdentity |
createCustomIdentity(java.lang.String customProviderName,
java.lang.String userId,
java.lang.String accessToken)
Create custom identity.
|
static AuthIdentity |
createFacebookIdentity(java.lang.String accessToken)
Creates a Facebook identity with specified access token.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
public static AuthIdentity createFacebookIdentity(java.lang.String accessToken)
accessToken
- Token of Facebook user returned from FB SDK.AuthIdentity
for Facebook user with specified access token.public static AuthIdentity createCustomIdentity(java.lang.String customProviderName, java.lang.String userId, java.lang.String accessToken)
customProviderName
- Your custom provider name.userId
- Unique user identifier for your custom provider.accessToken
- Password of the user for your custom provider.
It's a string, provided by the developer and it will be
required by the GetSocial SDK to validate any future
intent to add this same identity to another user.AuthIdentity
for your custom provider.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
(c) Copyright GetSocial BV, 2021. All Rights Reserved.