OAuthProvider

external class OAuthProvider(providerId: String) : AuthProvider(source)

Constructors

Link copied to clipboard
constructor(providerId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addScope(scope: String)
Link copied to clipboard
fun credential(optionsOrIdToken: JsAny?, accessToken: String? = definedExternally): AuthCredential

The JS SDK only reads the options; accessToken is left undefined when omitted.

Link copied to clipboard
fun setCustomParameters(customOAuthParameters: JsAny)