(providerId: string)
| 530 | } |
| 531 | |
| 532 | export function getCanonicalScopesForProvider(providerId: string): string[] { |
| 533 | const service = getServiceConfigByProviderId(providerId) |
| 534 | return service?.scopes ? [...service.scopes] : [] |
| 535 | } |
| 536 | |
| 537 | /** |
| 538 | * Get canonical scopes for a service by its serviceId key in OAUTH_PROVIDERS. |
no test coverage detected