class AuthProvider


Represents the authentication provider. Use this class to obtain s.

Summary

Constants

const String!

Unique string identifier for sign-in method.

const String!
PROVIDER_ID = ".com"

Unique string identifier for this provider type.

Public functions

java-static AuthCredential

Returns a new instance of AuthCredential that wraps a OAuth token.

Constants

_SIGN_IN_METHOD

const val _SIGN_IN_METHOD = ".com": String!

Unique string identifier for sign-in method.

PROVIDER_ID

const val PROVIDER_ID = ".com": String!

Unique string identifier for this provider type.

Public functions

getCredential

java-static fun getCredential(token: String): AuthCredential

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

Parameters
token: String

A valid OAuth access token, obtained from the OAuth flow