As an AuthClient.
Source
AuthClient asClient() { var scopes = allowedScope ?.split(" ") ?.map((s) => new AuthScope(s)) ?.toList(); return new AuthClient.withRedirectURI(id, hashedSecret, salt, redirectURI, allowedScopes: scopes); }
As an AuthClient.
AuthClient asClient() { var scopes = allowedScope ?.split(" ") ?.map((s) => new AuthScope(s)) ?.toList(); return new AuthClient.withRedirectURI(id, hashedSecret, salt, redirectURI, allowedScopes: scopes); }