UNPKG

@authup/core-kit

Version:

Package containing global constants, types & interfaces.

6 lines 471 B
import type { NameValidOptions } from '../../helpers'; export declare function transformOAuth2ScopeToArray(scope?: string | string[]): string[]; export declare function hasOAuth2OpenIDScope(scope?: string | string[]): boolean; export declare function isOAuth2ScopeAllowed(available?: string | string[], required?: string[] | string): boolean; export declare function isScopeNameValid(name: string, options?: NameValidOptions): boolean; //# sourceMappingURL=utils.d.ts.map