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, - List<
String> ? scopesSupported, - bool authorizationResponseIssParameterSupported = false,
- bool clientIdMetadataDocumentSupported = false,
- 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,
this.scopesSupported,
this.authorizationResponseIssParameterSupported = false,
this.clientIdMetadataDocumentSupported = false,
this.registrationEndpoint,
this.revocationEndpoint,
this.introspectionEndpoint,
});