Outlook_Addin_LLM/node_modules/@microsoft/dev-tunnels-contracts/tunnelAccessControlStatics.d.ts

11 lines
635 B
TypeScript
Raw Normal View History

/**
* Checks that all items in an array of scopes are valid.
* @param scopes List of scopes to validate.
* @param validScopes Optional subset of scopes to be considered valid;
* if omitted then all defined scopes are valid.
* @param allowMultiple Whether to allow multiple space-delimited scopes in a single item.
* Multiple scopes are supported when requesting a tunnel access token with a combination of scopes.
* @throws Error if a scope is not valid.
*/
export declare function validateScopes(scopes: string[], validScopes?: string[], allowMultiple?: boolean): void;
//# sourceMappingURL=tunnelAccessControlStatics.d.ts.map