botbook/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts

28 lines
988 B
TypeScript
Raw Normal View History

2024-09-04 13:13:15 -03:00
/**
* Validates server consumable params from the "request" objects
*/
export declare class RequestValidator {
/**
* Utility to check if the `redirectUri` in the request is a non-null value
* @param redirectUri
*/
static validateRedirectUri(redirectUri: string): void;
/**
* Utility to validate prompt sent by the user in the request
* @param prompt
*/
static validatePrompt(prompt: string): void;
static validateClaims(claims: string): void;
/**
* Utility to validate code_challenge and code_challenge_method
* @param codeChallenge
* @param codeChallengeMethod
*/
static validateCodeChallengeParams(codeChallenge: string, codeChallengeMethod: string): void;
/**
* Utility to validate code_challenge_method
* @param codeChallengeMethod
*/
static validateCodeChallengeMethod(codeChallengeMethod: string): void;
}
//# sourceMappingURL=RequestValidator.d.ts.map