MastodonOAuthServerMetadata constructor
- required String issuer,
- required String serviceDocumentation,
- required String authorizationEndpoint,
- required String tokenEndpoint,
- required String appRegistrationEndpoint,
- required String revocationEndpoint,
- String? userinfoEndpoint,
- required List<
String> scopesSupported, - required List<
String> responseTypesSupported, - required List<
String> responseModesSupported, - List<
String> ? codeChallengeMethodsSupported, - required List<
String> grantTypesSupported, - 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,
});