OAuthProvider constructor

OAuthProvider(
  1. String providerId
)

Constructs an OAuthProvider.

providerId The provider ID, which will be prefixed with "oidc_".

Initializes empty parameters and scopes.

Returns an OAuthProvider instance.

Example:

final provider = OAuthProvider('custom_oidc');

Implementation

OAuthProvider(String providerId) : _scopes = [],
                                   _parameters = {},
                                   super(providerId: "oidc_$providerId");