AuthClient.withRedirectURI(String id, String hashedSecret, String salt, String redirectURI, { 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.

Source

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