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