OAuthProvider

public class OAuthProvider extends Object

Represents the login authentication provider for a generic OAuth2 provider. Use this class to obtain AuthCredentials.

Public Method Summary

static AuthCredential
getCredential(String providerId, String idToken, String accessToken)
Returns a new instance of AuthCredential that wraps a login token.

Inherited Method Summary

Public Methods

public static AuthCredential getCredential (String providerId, String idToken, String accessToken)

Returns a new instance of AuthCredential that wraps a login token. Used when calling signInWithCredential(AuthCredential) or linkWithCredential(AuthCredential).

Parameters
providerId
idToken
accessToken a valid Facebook Login access token, obtained from the Facebook Login SDK

Send feedback about...

Need help? Visit our support page.