OAuthProvider class Null safety

A generic provider instance.

This class is extended by other OAuth based providers, or can be used standalone for integration with other 3rd party providers.

Inheritance

Constructors

OAuthProvider(String providerId)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
parameters Map
Returns the parameters for this provider instance. This is a Web only API.
read-only
providerId String
The provider ID.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes List<String>
Returns the currently assigned scopes to this provider instance. This is a Web only API.
read-only

Methods

addScope(String scope) OAuthProvider
Adds OAuth scope. This is a Web only API.
credential({String? accessToken, String? secret, String? idToken, String? rawNonce}) OAuthCredential
Create a new OAuthCredential from a provided accessToken;
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setCustomParameters(Map customOAuthParameters) OAuthProvider
Sets the OAuth custom parameters to pass in a OAuth request for popup and redirect sign-in operations. This is a Web only API.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited