OAuthWebFlow

data class OAuthWebFlow(val providerId: String, val scopes: List<String> = emptyList(), val customParameters: Map<String, String> = emptyMap()) : AuthCredential

Web-flow credential: the backend itself must drive an OAuth web flow for providerId (e.g. GitHub via Firebase's OAuthProvider).

Parameters

scopes

OAuth scopes to request.

customParameters

Extra provider-specific query parameters.

Constructors

Link copied to clipboard
constructor(providerId: String, scopes: List<String> = emptyList(), customParameters: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
open override val providerId: String

Identity provider that issued this credential — one of AuthProviderIds or a custom OAuth provider id.

Link copied to clipboard