AuthClient.withRedirectURI constructor Null safety

AuthClient.withRedirectURI(
  1. String? id,
  2. String? hashedSecret,
  3. String? salt,
  4. String? redirectURI,
  5. {List<AuthScope>? allowedScopes}
)

Creates an instance of AuthClient that uses the authorization code grant flow.

All values must be non-null. This is confidential client.

Implementation

AuthClient.withRedirectURI(
  this.id,
  this.hashedSecret,
  this.salt,
  this.redirectURI, {
  List<AuthScope>? allowedScopes,
}) {
  this.allowedScopes = allowedScopes;
}