react-native-recaptcha-enterprise
Version:
Google Enterprise reCaptcha library for React-Native. Real native implementation for iOS and Android.
26 lines • 730 B
TypeScript
export declare enum RecaptchaErrorCodes {
'NotInitializedClient' = "NotInitializedClient",
'NotAvailable' = "NotAvailable",
'RecaptchaErrorCodeUnknown' = 0,
'RecaptchaErrorNetworkError' = 1,
'RecaptchaErrorInvalidSiteKey' = 2,
'RecaptchaErrorInvalidKeyType' = 3,
'RecaptchaErrorInvalidPackageName' = 4,
'RecaptchaErrorInvalidAction' = 5,
'RecaptchaErrorCodeInternalError' = 100
}
export type CanUseResult = {
result: boolean;
} & ({
result: true;
} | {
result: false;
reason: string;
});
export type RecaptchaErrorType = {
code: RecaptchaErrorCodes;
message: string;
rawData: any;
};
export type ExecuteActions = 'LOGIN' | string;
//# sourceMappingURL=types.d.ts.map