FetchTokenScopesWithHost is a convenience function that creates a fetcher for a specific API host and fetches the token scopes.
(ctx context.Context, token string, apiHost utils.APIHostResolver)
| 133 | // FetchTokenScopesWithHost is a convenience function that creates a fetcher |
| 134 | // for a specific API host and fetches the token scopes. |
| 135 | func FetchTokenScopesWithHost(ctx context.Context, token string, apiHost utils.APIHostResolver) ([]string, error) { |
| 136 | return NewFetcher(apiHost, FetcherOptions{}).FetchTokenScopes(ctx, token) |
| 137 | } |
nothing calls this directly
no test coverage detected