From 8eff962cab608341a6f2fedc640a0e32d96f26e2 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 9 Nov 2025 11:15:19 +0800 Subject: pain --- .../src/api/authentication/create_auth_uri.d.ts | 26 +++++++ .../src/api/authentication/custom_token.d.ts | 26 +++++++ .../src/api/authentication/email_and_password.d.ts | 86 ++++++++++++++++++++++ .../src/api/authentication/email_link.d.ts | 32 ++++++++ .../dist/node-esm/src/api/authentication/idp.d.ts | 40 ++++++++++ .../dist/node-esm/src/api/authentication/mfa.d.ts | 73 ++++++++++++++++++ .../node-esm/src/api/authentication/recaptcha.d.ts | 34 +++++++++ .../node-esm/src/api/authentication/sign_up.d.ts | 34 +++++++++ .../dist/node-esm/src/api/authentication/sms.d.ts | 54 ++++++++++++++ .../node-esm/src/api/authentication/token.d.ts | 37 ++++++++++ 10 files changed, 442 insertions(+) create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/create_auth_uri.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/custom_token.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_and_password.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_link.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/idp.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/mfa.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/recaptcha.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sign_up.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sms.d.ts create mode 100644 frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/token.d.ts (limited to 'frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication') diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/create_auth_uri.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/create_auth_uri.d.ts new file mode 100644 index 0000000..8c2db00 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/create_auth_uri.d.ts @@ -0,0 +1,26 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Auth } from '../../model/public_types'; +export interface CreateAuthUriRequest { + identifier: string; + continueUri: string; + tenantId?: string; +} +export interface CreateAuthUriResponse { + signinMethods: string[]; +} +export declare function createAuthUri(auth: Auth, request: CreateAuthUriRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/custom_token.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/custom_token.d.ts new file mode 100644 index 0000000..ad776c7 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/custom_token.d.ts @@ -0,0 +1,26 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { IdTokenResponse } from '../../model/id_token'; +import { Auth } from '../../model/public_types'; +export interface SignInWithCustomTokenRequest { + token: string; + returnSecureToken: boolean; + tenantId?: string; +} +export interface SignInWithCustomTokenResponse extends IdTokenResponse { +} +export declare function signInWithCustomToken(auth: Auth, request: SignInWithCustomTokenRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_and_password.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_and_password.d.ts new file mode 100644 index 0000000..90028bd --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_and_password.d.ts @@ -0,0 +1,86 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ActionCodeOperation, Auth } from '../../model/public_types'; +import { RecaptchaClientType, RecaptchaVersion } from '../index'; +import { IdToken, IdTokenResponse } from '../../model/id_token'; +export interface SignInWithPasswordRequest { + returnSecureToken?: boolean; + email: string; + password: string; + tenantId?: string; + captchaResponse?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; +} +export interface SignInWithPasswordResponse extends IdTokenResponse { + email: string; + displayName: string; +} +export declare function signInWithPassword(auth: Auth, request: SignInWithPasswordRequest): Promise; +export interface GetOobCodeRequest { + email?: string; + continueUrl?: string; + iOSBundleId?: string; + iosAppStoreId?: string; + androidPackageName?: string; + androidInstallApp?: boolean; + androidMinimumVersionCode?: string; + canHandleCodeInApp?: boolean; + dynamicLinkDomain?: string; + tenantId?: string; + targetProjectid?: string; + linkDomain?: string; +} +export interface VerifyEmailRequest extends GetOobCodeRequest { + requestType: ActionCodeOperation.VERIFY_EMAIL; + idToken: IdToken; +} +export interface PasswordResetRequest extends GetOobCodeRequest { + requestType: ActionCodeOperation.PASSWORD_RESET; + email: string; + captchaResp?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; +} +export interface EmailSignInRequest extends GetOobCodeRequest { + requestType: ActionCodeOperation.EMAIL_SIGNIN; + email: string; + captchaResp?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; +} +export interface VerifyAndChangeEmailRequest extends GetOobCodeRequest { + requestType: ActionCodeOperation.VERIFY_AND_CHANGE_EMAIL; + idToken: IdToken; + newEmail: string; +} +interface GetOobCodeResponse { + email: string; +} +export interface VerifyEmailResponse extends GetOobCodeResponse { +} +export interface PasswordResetResponse extends GetOobCodeResponse { +} +export interface EmailSignInResponse extends GetOobCodeResponse { +} +export interface VerifyAndChangeEmailResponse extends GetOobCodeRequest { +} +export declare function sendEmailVerification(auth: Auth, request: VerifyEmailRequest): Promise; +export declare function sendPasswordResetEmail(auth: Auth, request: PasswordResetRequest): Promise; +export declare function sendSignInLinkToEmail(auth: Auth, request: EmailSignInRequest): Promise; +export declare function verifyAndChangeEmail(auth: Auth, request: VerifyAndChangeEmailRequest): Promise; +export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_link.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_link.d.ts new file mode 100644 index 0000000..eef24a5 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/email_link.d.ts @@ -0,0 +1,32 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { IdTokenResponse } from '../../model/id_token'; +import { Auth } from '../../model/public_types'; +export interface SignInWithEmailLinkRequest { + email: string; + oobCode: string; + tenantId?: string; +} +export interface SignInWithEmailLinkResponse extends IdTokenResponse { + email: string; + isNewUser: boolean; +} +export declare function signInWithEmailLink(auth: Auth, request: SignInWithEmailLinkRequest): Promise; +export interface SignInWithEmailLinkForLinkingRequest extends SignInWithEmailLinkRequest { + idToken: string; +} +export declare function signInWithEmailLinkForLinking(auth: Auth, request: SignInWithEmailLinkForLinkingRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/idp.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/idp.d.ts new file mode 100644 index 0000000..dd75832 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/idp.d.ts @@ -0,0 +1,40 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { IdToken, IdTokenResponse } from '../../model/id_token'; +import { Auth } from '../../model/public_types'; +export interface SignInWithIdpRequest { + requestUri: string; + postBody?: string; + sessionId?: string; + tenantId?: string; + returnSecureToken: boolean; + returnIdpCredential?: boolean; + idToken?: IdToken; + autoCreate?: boolean; + pendingToken?: string; +} +/** + * @internal + */ +export interface SignInWithIdpResponse extends IdTokenResponse { + oauthAccessToken?: string; + oauthTokenSecret?: string; + nonce?: string; + oauthIdToken?: string; + pendingToken?: string; +} +export declare function signInWithIdp(auth: Auth, request: SignInWithIdpRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/mfa.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/mfa.d.ts new file mode 100644 index 0000000..0d2abed --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/mfa.d.ts @@ -0,0 +1,73 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { RecaptchaClientType, RecaptchaVersion } from '../index'; +import { Auth } from '../../model/public_types'; +import { IdTokenResponse } from '../../model/id_token'; +import { MfaEnrollment } from '../account_management/mfa'; +import { SignInWithIdpResponse } from './idp'; +import { SignInWithPhoneNumberRequest, SignInWithPhoneNumberResponse } from './sms'; +export interface FinalizeMfaResponse { + idToken: string; + refreshToken: string; +} +/** + * @internal + */ +export interface IdTokenMfaResponse extends IdTokenResponse { + mfaPendingCredential?: string; + mfaInfo?: MfaEnrollment[]; +} +export interface StartPhoneMfaSignInRequest { + mfaPendingCredential: string; + mfaEnrollmentId: string; + phoneSignInInfo: { + recaptchaToken?: string; + captchaResponse?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; + }; + tenantId?: string; +} +export interface StartPhoneMfaSignInResponse { + phoneResponseInfo: { + sessionInfo: string; + }; +} +export declare function startSignInPhoneMfa(auth: Auth, request: StartPhoneMfaSignInRequest): Promise; +export interface FinalizePhoneMfaSignInRequest { + mfaPendingCredential: string; + phoneVerificationInfo: SignInWithPhoneNumberRequest; + tenantId?: string; +} +export interface FinalizeTotpMfaSignInRequest { + mfaPendingCredential: string; + totpVerificationInfo: { + verificationCode: string; + }; + tenantId?: string; + mfaEnrollmentId: string; +} +export interface FinalizePhoneMfaSignInResponse extends FinalizeMfaResponse { +} +export interface FinalizeTotpMfaSignInResponse extends FinalizeMfaResponse { +} +export declare function finalizeSignInPhoneMfa(auth: Auth, request: FinalizePhoneMfaSignInRequest): Promise; +export declare function finalizeSignInTotpMfa(auth: Auth, request: FinalizeTotpMfaSignInRequest): Promise; +/** + * @internal + */ +export type PhoneOrOauthTokenResponse = SignInWithPhoneNumberResponse | SignInWithIdpResponse | IdTokenResponse; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/recaptcha.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/recaptcha.d.ts new file mode 100644 index 0000000..e324d6d --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/recaptcha.d.ts @@ -0,0 +1,34 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { RecaptchaClientType, RecaptchaVersion } from '../index'; +import { Auth } from '../../model/public_types'; +export declare function getRecaptchaParams(auth: Auth): Promise; +interface GetRecaptchaConfigRequest { + tenantId?: string; + clientType?: RecaptchaClientType; + version?: RecaptchaVersion; +} +export interface RecaptchaEnforcementProviderState { + provider: string; + enforcementState: string; +} +export interface GetRecaptchaConfigResponse { + recaptchaKey: string; + recaptchaEnforcementState: RecaptchaEnforcementProviderState[]; +} +export declare function getRecaptchaConfig(auth: Auth, request: GetRecaptchaConfigRequest): Promise; +export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sign_up.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sign_up.d.ts new file mode 100644 index 0000000..78f0838 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sign_up.d.ts @@ -0,0 +1,34 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { RecaptchaClientType, RecaptchaVersion } from '../index'; +import { IdTokenResponse } from '../../model/id_token'; +import { Auth } from '../../model/public_types'; +export interface SignUpRequest { + idToken?: string; + returnSecureToken?: boolean; + email?: string; + password?: string; + tenantId?: string; + captchaResponse?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; +} +export interface SignUpResponse extends IdTokenResponse { + displayName?: string; + email?: string; +} +export declare function signUp(auth: Auth, request: SignUpRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sms.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sms.d.ts new file mode 100644 index 0000000..617aa64 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/sms.d.ts @@ -0,0 +1,54 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { RecaptchaClientType, RecaptchaVersion } from '../index'; +import { IdTokenResponse } from '../../model/id_token'; +import { Auth } from '../../model/public_types'; +export interface SendPhoneVerificationCodeRequest { + phoneNumber: string; + recaptchaToken?: string; + tenantId?: string; + captchaResponse?: string; + clientType?: RecaptchaClientType; + recaptchaVersion?: RecaptchaVersion; +} +export interface SendPhoneVerificationCodeResponse { + sessionInfo: string; +} +export declare function sendPhoneVerificationCode(auth: Auth, request: SendPhoneVerificationCodeRequest): Promise; +/** + * @internal + */ +export interface SignInWithPhoneNumberRequest { + temporaryProof?: string; + phoneNumber?: string; + sessionInfo?: string; + code?: string; + tenantId?: string; +} +export interface LinkWithPhoneNumberRequest extends SignInWithPhoneNumberRequest { + idToken: string; +} +/** + * @internal + */ +export interface SignInWithPhoneNumberResponse extends IdTokenResponse { + temporaryProof?: string; + phoneNumber?: string; +} +export declare function signInWithPhoneNumber(auth: Auth, request: SignInWithPhoneNumberRequest): Promise; +export declare function linkWithPhoneNumber(auth: Auth, request: LinkWithPhoneNumberRequest): Promise; +export declare function verifyPhoneNumberForExisting(auth: Auth, request: SignInWithPhoneNumberRequest): Promise; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/token.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/token.d.ts new file mode 100644 index 0000000..1433eae --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/authentication/token.d.ts @@ -0,0 +1,37 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Auth } from '../../model/public_types'; +export declare const enum TokenType { + REFRESH_TOKEN = "REFRESH_TOKEN", + ACCESS_TOKEN = "ACCESS_TOKEN" +} +export interface RequestStsTokenResponse { + accessToken: string; + expiresIn: string; + refreshToken: string; +} +export interface RevokeTokenRequest { + providerId: string; + tokenType: TokenType; + token: string; + idToken: string; + tenantId?: string; +} +export interface RevokeTokenResponse { +} +export declare function requestStsToken(auth: Auth, refreshToken: string): Promise; +export declare function revokeToken(auth: Auth, request: RevokeTokenRequest): Promise; -- cgit v1.2.3