wangzhibo
2026-05-09 53418655c061ac26f66058253f39200aced1ab1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { AuthError } from "@azure/msal-common/browser";
import * as NativeAuthErrorCodes from "./NativeAuthErrorCodes.js";
export { NativeAuthErrorCodes };
export type OSError = {
    error?: number;
    protocol_error?: string;
    properties?: object;
    status?: string;
    retryable?: boolean;
};
export declare class NativeAuthError extends AuthError {
    ext: OSError | undefined;
    constructor(errorCode: string, description?: string, ext?: OSError);
}
/**
 * These errors should result in a fallback to the 'standard' browser based auth flow.
 */
export declare function isFatalNativeAuthError(error: NativeAuthError): boolean;
/**
 * Create the appropriate error object based on the WAM status code.
 * @param code
 * @param description
 * @param ext
 * @returns
 */
export declare function createNativeAuthError(code: string, description?: string, ext?: OSError): AuthError;
//# sourceMappingURL=NativeAuthError.d.ts.map