diff options
Diffstat (limited to 'frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication')
10 files changed, 0 insertions, 442 deletions
diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/create_auth_uri.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/create_auth_uri.d.ts deleted file mode 100644 index 8c2db00..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/create_auth_uri.d.ts +++ /dev/null @@ -1,26 +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 { 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<CreateAuthUriResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/custom_token.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/custom_token.d.ts deleted file mode 100644 index ad776c7..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/custom_token.d.ts +++ /dev/null @@ -1,26 +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 SignInWithCustomTokenRequest { - token: string; - returnSecureToken: boolean; - tenantId?: string; -} -export interface SignInWithCustomTokenResponse extends IdTokenResponse { -} -export declare function signInWithCustomToken(auth: Auth, request: SignInWithCustomTokenRequest): Promise<SignInWithCustomTokenResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_and_password.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_and_password.d.ts deleted file mode 100644 index 90028bd..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_and_password.d.ts +++ /dev/null @@ -1,86 +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 { 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<SignInWithPasswordResponse>; -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<VerifyEmailResponse>; -export declare function sendPasswordResetEmail(auth: Auth, request: PasswordResetRequest): Promise<PasswordResetResponse>; -export declare function sendSignInLinkToEmail(auth: Auth, request: EmailSignInRequest): Promise<EmailSignInResponse>; -export declare function verifyAndChangeEmail(auth: Auth, request: VerifyAndChangeEmailRequest): Promise<VerifyAndChangeEmailResponse>; -export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_link.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_link.d.ts deleted file mode 100644 index eef24a5..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/email_link.d.ts +++ /dev/null @@ -1,32 +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 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<SignInWithEmailLinkResponse>; -export interface SignInWithEmailLinkForLinkingRequest extends SignInWithEmailLinkRequest { - idToken: string; -} -export declare function signInWithEmailLinkForLinking(auth: Auth, request: SignInWithEmailLinkForLinkingRequest): Promise<SignInWithEmailLinkResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/idp.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/idp.d.ts deleted file mode 100644 index dd75832..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/idp.d.ts +++ /dev/null @@ -1,40 +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 { 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<SignInWithIdpResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/mfa.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/mfa.d.ts deleted file mode 100644 index 0d2abed..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/mfa.d.ts +++ /dev/null @@ -1,73 +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 { 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<StartPhoneMfaSignInResponse>; -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<FinalizePhoneMfaSignInResponse>; -export declare function finalizeSignInTotpMfa(auth: Auth, request: FinalizeTotpMfaSignInRequest): Promise<FinalizeTotpMfaSignInResponse>; -/** - * @internal - */ -export type PhoneOrOauthTokenResponse = SignInWithPhoneNumberResponse | SignInWithIdpResponse | IdTokenResponse; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/recaptcha.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/recaptcha.d.ts deleted file mode 100644 index e324d6d..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/recaptcha.d.ts +++ /dev/null @@ -1,34 +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 { Auth } from '../../model/public_types'; -export declare function getRecaptchaParams(auth: Auth): Promise<string>; -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<GetRecaptchaConfigResponse>; -export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sign_up.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sign_up.d.ts deleted file mode 100644 index 78f0838..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sign_up.d.ts +++ /dev/null @@ -1,34 +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 { 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<SignUpResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sms.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sms.d.ts deleted file mode 100644 index 617aa64..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/sms.d.ts +++ /dev/null @@ -1,54 +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 { 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<SendPhoneVerificationCodeResponse>; -/** - * @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<SignInWithPhoneNumberResponse>; -export declare function linkWithPhoneNumber(auth: Auth, request: LinkWithPhoneNumberRequest): Promise<SignInWithPhoneNumberResponse>; -export declare function verifyPhoneNumberForExisting(auth: Auth, request: SignInWithPhoneNumberRequest): Promise<SignInWithPhoneNumberResponse>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/token.d.ts b/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/token.d.ts deleted file mode 100644 index 1433eae..0000000 --- a/frontend-old/node_modules/@firebase/auth/dist/node/src/api/authentication/token.d.ts +++ /dev/null @@ -1,37 +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 { 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<RequestStsTokenResponse>; -export declare function revokeToken(auth: Auth, request: RevokeTokenRequest): Promise<RevokeTokenResponse>; |
