generateAuthLink method

String generateAuthLink([
  1. List scopes = _defaultScopes
])

Implementation

String generateAuthLink([List scopes = _defaultScopes]) {
  return "https://$_domain/oauth/authorize?client_id=$clientId&redirect_uri=${Uri.encodeComponent(redirectUrl)}&response_type=code&scope=${scopes.join('+')}";
}