infinity-forge
Version:
7 lines (6 loc) • 310 B
TypeScript
import { TokenResponse } from './types/index.js';
/**
* Checks if the user granted any of the specified scope or scopes.
* @returns True if any of the scopes are granted
*/
export default function hasGrantedAnyScopeGoogle(tokenResponse: TokenResponse, firstScope: string, ...restScopes: string[]): boolean;