OAuthConfig constructor
const
OAuthConfig({
- String? authServerMetadataUrl,
- required String authorizationEndpoint,
- required String tokenEndpoint,
- required String clientId,
- String? clientIdMetadataUrl,
- String? clientSecret,
- String? redirectUri,
- List<
String> scopes = const [], - OAuthGrantType grantType = OAuthGrantType.authorizationCode,
- String codeChallengeMethod = 'S256',
Implementation
const OAuthConfig({
this.authServerMetadataUrl,
required this.authorizationEndpoint,
required this.tokenEndpoint,
required this.clientId,
this.clientIdMetadataUrl,
this.clientSecret,
this.redirectUri,
this.scopes = const [],
this.grantType = OAuthGrantType.authorizationCode,
this.codeChallengeMethod = 'S256',
});