Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
/**
* 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