MastodonOAuthServerMetadata constructor

const MastodonOAuthServerMetadata({
  1. required String issuer,
  2. required String serviceDocumentation,
  3. required String authorizationEndpoint,
  4. required String tokenEndpoint,
  5. required String appRegistrationEndpoint,
  6. required String revocationEndpoint,
  7. String? userinfoEndpoint,
  8. required List<String> scopesSupported,
  9. required List<String> responseTypesSupported,
  10. required List<String> responseModesSupported,
  11. List<String>? codeChallengeMethodsSupported,
  12. required List<String> grantTypesSupported,
  13. required List<String> tokenEndpointAuthMethodsSupported,
})

Creates a MastodonOAuthServerMetadata with the given fields.

Implementation

const MastodonOAuthServerMetadata({
  required this.issuer,
  required this.serviceDocumentation,
  required this.authorizationEndpoint,
  required this.tokenEndpoint,
  required this.appRegistrationEndpoint,
  required this.revocationEndpoint,
  this.userinfoEndpoint,
  required this.scopesSupported,
  required this.responseTypesSupported,
  required this.responseModesSupported,
  this.codeChallengeMethodsSupported,
  required this.grantTypesSupported,
  required this.tokenEndpointAuthMethodsSupported,
});