1 | import { AuthError } from "./AuthError";
|
2 | import { IdToken } from "../IdToken";
|
3 | export declare const ClientAuthErrorMessage: {
|
4 | endpointResolutionError: {
|
5 | code: string;
|
6 | desc: string;
|
7 | };
|
8 | popUpWindowError: {
|
9 | code: string;
|
10 | desc: string;
|
11 | };
|
12 | tokenRenewalError: {
|
13 | code: string;
|
14 | desc: string;
|
15 | };
|
16 | invalidIdToken: {
|
17 | code: string;
|
18 | desc: string;
|
19 | };
|
20 | invalidStateError: {
|
21 | code: string;
|
22 | desc: string;
|
23 | };
|
24 | nonceMismatchError: {
|
25 | code: string;
|
26 | desc: string;
|
27 | };
|
28 | loginProgressError: {
|
29 | code: string;
|
30 | desc: string;
|
31 | };
|
32 | acquireTokenProgressError: {
|
33 | code: string;
|
34 | desc: string;
|
35 | };
|
36 | userCancelledError: {
|
37 | code: string;
|
38 | desc: string;
|
39 | };
|
40 | callbackError: {
|
41 | code: string;
|
42 | desc: string;
|
43 | };
|
44 | userLoginRequiredError: {
|
45 | code: string;
|
46 | desc: string;
|
47 | };
|
48 | userDoesNotExistError: {
|
49 | code: string;
|
50 | desc: string;
|
51 | };
|
52 | clientInfoDecodingError: {
|
53 | code: string;
|
54 | desc: string;
|
55 | };
|
56 | clientInfoNotPopulatedError: {
|
57 | code: string;
|
58 | desc: string;
|
59 | };
|
60 | nullOrEmptyIdToken: {
|
61 | code: string;
|
62 | desc: string;
|
63 | };
|
64 | idTokenNotParsed: {
|
65 | code: string;
|
66 | desc: string;
|
67 | };
|
68 | tokenEncodingError: {
|
69 | code: string;
|
70 | desc: string;
|
71 | };
|
72 | invalidInteractionType: {
|
73 | code: string;
|
74 | desc: string;
|
75 | };
|
76 | cacheParseError: {
|
77 | code: string;
|
78 | desc: string;
|
79 | };
|
80 | blockTokenRequestsInHiddenIframe: {
|
81 | code: string;
|
82 | desc: string;
|
83 | };
|
84 | };
|
85 |
|
86 |
|
87 |
|
88 | export declare class ClientAuthError extends AuthError {
|
89 | constructor(errorCode: string, errorMessage?: string);
|
90 | static createEndpointResolutionError(errDetail?: string): ClientAuthError;
|
91 | static createPopupWindowError(errDetail?: string): ClientAuthError;
|
92 | static createTokenRenewalTimeoutError(): ClientAuthError;
|
93 | static createInvalidIdTokenError(idToken: IdToken): ClientAuthError;
|
94 | static createInvalidStateError(invalidState: string, actualState: string): ClientAuthError;
|
95 | static createNonceMismatchError(invalidNonce: string, actualNonce: string): ClientAuthError;
|
96 | static createLoginInProgressError(): ClientAuthError;
|
97 | static createAcquireTokenInProgressError(): ClientAuthError;
|
98 | static createUserCancelledError(): ClientAuthError;
|
99 | static createErrorInCallbackFunction(errorDesc: string): ClientAuthError;
|
100 | static createUserLoginRequiredError(): ClientAuthError;
|
101 | static createUserDoesNotExistError(): ClientAuthError;
|
102 | static createClientInfoDecodingError(caughtError: string): ClientAuthError;
|
103 | static createClientInfoNotPopulatedError(caughtError: string): ClientAuthError;
|
104 | static createIdTokenNullOrEmptyError(invalidRawTokenString: string): ClientAuthError;
|
105 | static createIdTokenParsingError(caughtParsingError: string): ClientAuthError;
|
106 | static createTokenEncodingError(incorrectlyEncodedToken: string): ClientAuthError;
|
107 | static createInvalidInteractionTypeError(): ClientAuthError;
|
108 | static createCacheParseError(key: string): ClientAuthError;
|
109 | static createBlockTokenRequestsInHiddenIframeError(): ClientAuthError;
|
110 | }
|