AuthServerMetadata constructor

const AuthServerMetadata({
  1. required String issuer,
  2. required String authorizationEndpoint,
  3. required String tokenEndpoint,
  4. List<String> tokenEndpointAuthMethodsSupported = const ['client_secret_basic'],
  5. List<String> responseTypesSupported = const ['code'],
  6. List<String> grantTypesSupported = const ['authorization_code', 'refresh_token'],
  7. List<String>? codeChallengeMethodsSupported,
  8. List<String>? scopesSupported,
  9. bool authorizationResponseIssParameterSupported = false,
  10. bool clientIdMetadataDocumentSupported = false,
  11. String? registrationEndpoint,
  12. String? revocationEndpoint,
  13. 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,
});