ManagedAuthClient.fromClient constructor

ManagedAuthClient.fromClient(
  1. AuthClient client
)

Create from an AuthClient.

Implementation

ManagedAuthClient.fromClient(AuthClient client) {
  id = client.id;
  hashedSecret = client.hashedSecret;
  salt = client.salt;
  redirectURI = client.redirectURI;
  allowedScope = client.allowedScopes!.map((s) => s.toString()).join(" ");
}