Ir para o console

OAuthCredential

public abstract class OAuthCredential extends AuthCredential

Holds credentials generated by a sign-in with a credential to an IDP that uses OAuth

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

abstract String
getAccessToken()
Returns the OAuth access token associated with this credential.
abstract String
getIdToken()
Returns the OAuth ID token associated with this credential.
abstract String
getSecret()
Returns the OAuth secret associated with this credential.

Inherited Method Summary

Public Constructors

public OAuthCredential ()

Public Methods

public abstract String getAccessToken ()

Returns the OAuth access token associated with this credential.

public abstract String getIdToken ()

Returns the OAuth ID token associated with this credential.

public abstract String getSecret ()

Returns the OAuth secret associated with this credential. This will be null for OAuth 2.0 providers.