ConsentRequest constructor

ConsentRequest({
  1. required String clientId,
  2. String? scope,
  3. required String redirectUri,
  4. String? state,
  5. String? nonce,
  6. String? codeChallenge,
  7. ConsentRequestCodeChallengeMethodEnum? codeChallengeMethod,
  8. required bool approved,
})

Returns a new ConsentRequest instance.

Implementation

ConsentRequest({
  required this.clientId,
  this.scope,
  required this.redirectUri,
  this.state,
  this.nonce,
  this.codeChallenge,
  this.codeChallengeMethod,
  required this.approved,
});