diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
| commit | 434aa8343fdcbb4d5002f934979913c099489bee (patch) | |
| tree | 55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management | |
| parent | 893c388d4e99442a36005e5971a87730623f946e (diff) | |
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management')
4 files changed, 0 insertions, 244 deletions
diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/account.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/account.d.ts deleted file mode 100644 index f106e93..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/account.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @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 { MfaEnrollment } from './mfa'; -import { Auth } from '../../model/public_types'; -export interface DeleteAccountRequest { - idToken: string; -} -export declare function deleteAccount(auth: Auth, request: DeleteAccountRequest): Promise<void>; -export interface ProviderUserInfo { - providerId: string; - rawId?: string; - email?: string; - displayName?: string; - photoUrl?: string; - phoneNumber?: string; -} -export interface DeleteLinkedAccountsRequest { - idToken: string; - deleteProvider: string[]; -} -export interface DeleteLinkedAccountsResponse { - providerUserInfo: ProviderUserInfo[]; -} -export declare function deleteLinkedAccounts(auth: Auth, request: DeleteLinkedAccountsRequest): Promise<DeleteLinkedAccountsResponse>; -export interface APIUserInfo { - localId?: string; - displayName?: string; - photoUrl?: string; - email?: string; - emailVerified?: boolean; - phoneNumber?: string; - lastLoginAt?: number; - createdAt?: number; - tenantId?: string; - passwordHash?: string; - providerUserInfo?: ProviderUserInfo[]; - mfaInfo?: MfaEnrollment[]; -} -export interface GetAccountInfoRequest { - idToken: string; -} -export interface GetAccountInfoResponse { - users: APIUserInfo[]; -} -export declare function getAccountInfo(auth: Auth, request: GetAccountInfoRequest): Promise<GetAccountInfoResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/email_and_password.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/email_and_password.d.ts deleted file mode 100644 index 5a3bb06..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/email_and_password.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @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 { IdTokenResponse } from '../../model/id_token'; -import { MfaEnrollment } from './mfa'; -import { SignUpRequest, SignUpResponse } from '../authentication/sign_up'; -export interface ResetPasswordRequest { - oobCode: string; - newPassword?: string; - tenantId?: string; -} -export interface ResetPasswordResponse { - email: string; - newEmail?: string; - requestType?: ActionCodeOperation; - mfaInfo?: MfaEnrollment; -} -export declare function resetPassword(auth: Auth, request: ResetPasswordRequest): Promise<ResetPasswordResponse>; -export interface UpdateEmailPasswordRequest { - idToken: string; - returnSecureToken?: boolean; - email?: string; - password?: string; -} -export interface UpdateEmailPasswordResponse extends IdTokenResponse { -} -export declare function updateEmailPassword(auth: Auth, request: UpdateEmailPasswordRequest): Promise<UpdateEmailPasswordResponse>; -export declare function linkEmailPassword(auth: Auth, request: SignUpRequest): Promise<SignUpResponse>; -export interface ApplyActionCodeRequest { - oobCode: string; - tenantId?: string; -} -export interface ApplyActionCodeResponse { -} -export declare function applyActionCode(auth: Auth, request: ApplyActionCodeRequest): Promise<ApplyActionCodeResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/mfa.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/mfa.d.ts deleted file mode 100644 index 8db0c0d..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/mfa.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * @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 { SignInWithPhoneNumberRequest } from '../authentication/sms'; -import { FinalizeMfaResponse } from '../authentication/mfa'; -import { AuthInternal } from '../../model/auth'; -/** - * MFA Info as returned by the API. - */ -interface BaseMfaEnrollment { - mfaEnrollmentId: string; - enrolledAt: number; - displayName?: string; -} -/** - * An MFA provided by SMS verification. - */ -export interface PhoneMfaEnrollment extends BaseMfaEnrollment { - phoneInfo: string; -} -/** - * An MFA provided by TOTP (Time-based One Time Password). - */ -export interface TotpMfaEnrollment extends BaseMfaEnrollment { -} -/** - * MfaEnrollment can be any subtype of BaseMfaEnrollment, currently only PhoneMfaEnrollment and TotpMfaEnrollment are supported. - */ -export type MfaEnrollment = PhoneMfaEnrollment | TotpMfaEnrollment; -export interface StartPhoneMfaEnrollmentRequest { - idToken: string; - phoneEnrollmentInfo: { - phoneNumber: string; - recaptchaToken?: string; - captchaResponse?: string; - clientType?: RecaptchaClientType; - recaptchaVersion?: RecaptchaVersion; - }; - tenantId?: string; -} -export interface StartPhoneMfaEnrollmentResponse { - phoneSessionInfo: { - sessionInfo: string; - }; -} -export declare function startEnrollPhoneMfa(auth: AuthInternal, request: StartPhoneMfaEnrollmentRequest): Promise<StartPhoneMfaEnrollmentResponse>; -export interface FinalizePhoneMfaEnrollmentRequest { - idToken: string; - phoneVerificationInfo: SignInWithPhoneNumberRequest; - displayName?: string | null; - tenantId?: string; -} -export interface FinalizePhoneMfaEnrollmentResponse extends FinalizeMfaResponse { -} -export declare function finalizeEnrollPhoneMfa(auth: AuthInternal, request: FinalizePhoneMfaEnrollmentRequest): Promise<FinalizePhoneMfaEnrollmentResponse>; -export interface StartTotpMfaEnrollmentRequest { - idToken: string; - totpEnrollmentInfo: {}; - tenantId?: string; -} -export interface StartTotpMfaEnrollmentResponse { - totpSessionInfo: { - sharedSecretKey: string; - verificationCodeLength: number; - hashingAlgorithm: string; - periodSec: number; - sessionInfo: string; - finalizeEnrollmentTime: number; - }; -} -export declare function startEnrollTotpMfa(auth: AuthInternal, request: StartTotpMfaEnrollmentRequest): Promise<StartTotpMfaEnrollmentResponse>; -export interface TotpVerificationInfo { - sessionInfo: string; - verificationCode: string; -} -export interface FinalizeTotpMfaEnrollmentRequest { - idToken: string; - totpVerificationInfo: TotpVerificationInfo; - displayName?: string | null; - tenantId?: string; -} -export interface FinalizeTotpMfaEnrollmentResponse extends FinalizeMfaResponse { -} -export declare function finalizeEnrollTotpMfa(auth: AuthInternal, request: FinalizeTotpMfaEnrollmentRequest): Promise<FinalizeTotpMfaEnrollmentResponse>; -export interface WithdrawMfaRequest { - idToken: string; - mfaEnrollmentId: string; - tenantId?: string; -} -export interface WithdrawMfaResponse extends FinalizeMfaResponse { -} -export declare function withdrawMfa(auth: AuthInternal, request: WithdrawMfaRequest): Promise<WithdrawMfaResponse>; -export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/profile.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/profile.d.ts deleted file mode 100644 index 9b1d591..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node-esm/src/api/account_management/profile.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @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 UpdateProfileRequest { - idToken: string; - displayName?: string | null; - photoUrl?: string | null; - returnSecureToken: boolean; -} -export interface UpdateProfileResponse extends IdTokenResponse { - displayName?: string | null; - photoUrl?: string | null; -} -export declare function updateProfile(auth: Auth, request: UpdateProfileRequest): Promise<UpdateProfileResponse>; |
