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 = const ['S256'],
  8. String? registrationEndpoint,
  9. String? revocationEndpoint,
  10. 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,
});