AuthServerMetadata constructor
const
AuthServerMetadata({
- required String issuer,
- required String authorizationEndpoint,
- required String tokenEndpoint,
- List<
String> tokenEndpointAuthMethodsSupported = const ['client_secret_basic'], - List<
String> responseTypesSupported = const ['code'], - List<
String> grantTypesSupported = const ['authorization_code', 'refresh_token'], - List<
String> codeChallengeMethodsSupported = const ['S256'], - String? registrationEndpoint,
- String? revocationEndpoint,
- String? introspectionEndpoint,
Implementation
const AuthServerMetadata({
required this.issuer,
required this.authorizationEndpoint,
required this.tokenEndpoint,
this.tokenEndpointAuthMethodsSupported = const ['client_secret_basic'],
this.responseTypesSupported = const ['code'],
this.grantTypesSupported = const ['authorization_code', 'refresh_token'],
this.codeChallengeMethodsSupported = const ['S256'],
this.registrationEndpoint,
this.revocationEndpoint,
this.introspectionEndpoint,
});