1 | import { ClientAuthError } from "./ClientAuthError";
|
2 | import { TelemetryOptions } from "../Configuration";
|
3 | interface IClientConfigurationErrorMessage {
|
4 | code: string;
|
5 | desc: string;
|
6 | }
|
7 | export declare const ClientConfigurationErrorMessage: Record<string, IClientConfigurationErrorMessage>;
|
8 |
|
9 |
|
10 |
|
11 | export declare class ClientConfigurationError extends ClientAuthError {
|
12 | constructor(errorCode: string, errorMessage?: string);
|
13 | static createNoSetConfigurationError(): ClientConfigurationError;
|
14 | static createStorageNotSupportedError(givenCacheLocation: string): ClientConfigurationError;
|
15 | static createRedirectCallbacksNotSetError(): ClientConfigurationError;
|
16 | static createInvalidCallbackObjectError(callbackObject: object): ClientConfigurationError;
|
17 | static createEmptyScopesArrayError(scopesValue: string): ClientConfigurationError;
|
18 | static createScopesNonArrayError(scopesValue: string): ClientConfigurationError;
|
19 | static createScopesRequiredError(scopesValue: string[]): ClientConfigurationError;
|
20 | static createInvalidPromptError(promptValue: string): ClientConfigurationError;
|
21 | static createClaimsRequestParsingError(claimsRequestParseError: string): ClientConfigurationError;
|
22 | static createEmptyRequestError(): ClientConfigurationError;
|
23 | static createInvalidCorrelationIdError(): ClientConfigurationError;
|
24 | static createKnownAuthoritiesNotSetError(): ClientConfigurationError;
|
25 | static createInvalidAuthorityTypeError(): ClientConfigurationError;
|
26 | static createUntrustedAuthorityError(host: string): ClientConfigurationError;
|
27 | static createTelemetryConfigError(config: TelemetryOptions): ClientConfigurationError;
|
28 | static createSsoSilentError(): ClientConfigurationError;
|
29 | static createInvalidAuthorityMetadataError(): ClientConfigurationError;
|
30 | }
|
31 | export {};
|