OAuthClientMetadata constructor
- @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
- required String clientId,
- required String applicationType,
- required String clientName,
- required String clientUri,
- @Default(true) bool dpopBoundAccessTokens,
- @Default([]) List<
String> grantTypes, - @JsonKey(name: 'redirect_uris_OLD') @Default([]) List<
String> redirectUrisOLD, - @Default([]) List<
String> redirectUris, - @Default([]) List<
String> responseTypes, - required String scope,
- required String tokenEndpointAuthMethod,
Implementation
@JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
const factory OAuthClientMetadata({
required String clientId,
required String applicationType,
required String clientName,
required String clientUri,
@Default(true) bool dpopBoundAccessTokens,
@Default([]) List<String> grantTypes,
@JsonKey(name: 'redirect_uris_OLD')
@Default([])
List<String> redirectUrisOLD,
@Default([]) List<String> redirectUris,
@Default([]) List<String> responseTypes,
required String scope,
required String tokenEndpointAuthMethod,
}) = _OAuthClientMetadata;