java.lang.Object |
↳ |
com.google.android.gms.auth.api.credentials.IdentityProviders |
Summary
Public Methods |
static
final
String
|
getIdentityProviderForAccount(Account account)
Attempts to translate the account type in the provided account into the string that should be
used in the credentials API.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
String
FACEBOOK
Constant Value:
"https://www.facebook.com"
public
static
final
String
GOOGLE
Constant Value:
"https://accounts.google.com"
public
static
final
String
LINKEDIN
Constant Value:
"https://www.linkedin.com"
public
static
final
String
MICROSOFT
Constant Value:
"https://login.live.com"
public
static
final
String
PAYPAL
Constant Value:
"https://www.paypal.com"
public
static
final
String
TWITTER
Constant Value:
"https://twitter.com"
public
static
final
String
YAHOO
Constant Value:
"https://login.yahoo.com"
Public Methods
public
static
final
String
getIdentityProviderForAccount
(Account account)
Attempts to translate the account type in the provided account into the string that should be
used in the credentials API.
Parameters |
account |
Account :
an account on the device. |
Returns |
String |
The identity provider string for use with the Credentials API, or null if the
account type is unknown.
|