DiscoveryDocument constructor
DiscoveryDocument({
- required String issuer,
- required String authorizationEndpoint,
- required String tokenEndpoint,
- String? registrationEndpoint,
- String? introspectionEndpoint,
- String? revocationEndpoint,
- String? userinfoEndpoint,
- required String jwksUri,
- List<
String> responseTypesSupported = const [], - List<
String> grantTypesSupported = const [], - List<
String> tokenEndpointAuthMethodsSupported = const [], - List<
String> codeChallengeMethodsSupported = const [], - List<
String> scopesSupported = const [], - List<
String> subjectTypesSupported = const [], - List<
String> idTokenSigningAlgValuesSupported = const [], - List<
String> promptValuesSupported = const [], - List<
String> claimsSupported = const [], - String? serviceDocumentation,
Returns a new DiscoveryDocument instance.
Implementation
DiscoveryDocument({
required this.issuer,
required this.authorizationEndpoint,
required this.tokenEndpoint,
this.registrationEndpoint,
this.introspectionEndpoint,
this.revocationEndpoint,
this.userinfoEndpoint,
required this.jwksUri,
this.responseTypesSupported = const [],
this.grantTypesSupported = const [],
this.tokenEndpointAuthMethodsSupported = const [],
this.codeChallengeMethodsSupported = const [],
this.scopesSupported = const [],
this.subjectTypesSupported = const [],
this.idTokenSigningAlgValuesSupported = const [],
this.promptValuesSupported = const [],
this.claimsSupported = const [],
this.serviceDocumentation,
});