summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials')
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/auth_credential.d.ts75
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/email.d.ts60
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/index.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/oauth.d.ts81
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/phone.d.ts52
-rw-r--r--frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/saml.d.ts52
6 files changed, 0 insertions, 343 deletions
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/auth_credential.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/auth_credential.d.ts
deleted file mode 100644
index 1287582..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/auth_credential.d.ts
+++ /dev/null
@@ -1,75 +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 { PhoneOrOauthTokenResponse } from '../../api/authentication/mfa';
-import { AuthInternal } from '../../model/auth';
-import { IdTokenResponse } from '../../model/id_token';
-/**
- * Interface that represents the credentials returned by an {@link AuthProvider}.
- *
- * @remarks
- * Implementations specify the details about each auth provider's credential requirements.
- *
- * @public
- */
-export declare class AuthCredential {
- /**
- * The authentication provider ID for the credential.
- *
- * @remarks
- * For example, 'facebook.com', or 'google.com'.
- */
- readonly providerId: string;
- /**
- * The authentication sign in method for the credential.
- *
- * @remarks
- * For example, {@link SignInMethod}.EMAIL_PASSWORD, or
- * {@link SignInMethod}.EMAIL_LINK. This corresponds to the sign-in method
- * identifier as returned in {@link fetchSignInMethodsForEmail}.
- */
- readonly signInMethod: string;
- /** @internal */
- protected constructor(
- /**
- * The authentication provider ID for the credential.
- *
- * @remarks
- * For example, 'facebook.com', or 'google.com'.
- */
- providerId: string,
- /**
- * The authentication sign in method for the credential.
- *
- * @remarks
- * For example, {@link SignInMethod}.EMAIL_PASSWORD, or
- * {@link SignInMethod}.EMAIL_LINK. This corresponds to the sign-in method
- * identifier as returned in {@link fetchSignInMethodsForEmail}.
- */
- signInMethod: string);
- /**
- * Returns a JSON-serializable representation of this object.
- *
- * @returns a JSON-serializable representation of this object.
- */
- toJSON(): object;
- /** @internal */
- _getIdTokenResponse(_auth: AuthInternal): Promise<PhoneOrOauthTokenResponse>;
- /** @internal */
- _linkToIdToken(_auth: AuthInternal, _idToken: string): Promise<IdTokenResponse>;
- /** @internal */
- _getReauthenticationResolver(_auth: AuthInternal): Promise<IdTokenResponse>;
-}
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/email.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/email.d.ts
deleted file mode 100644
index 0f44811..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/email.d.ts
+++ /dev/null
@@ -1,60 +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 { AuthInternal } from '../../model/auth';
-import { IdTokenResponse } from '../../model/id_token';
-import { AuthCredential } from './auth_credential';
-/**
- * Interface that represents the credentials returned by {@link EmailAuthProvider} for
- * {@link ProviderId}.PASSWORD
- *
- * @remarks
- * Covers both {@link SignInMethod}.EMAIL_PASSWORD and
- * {@link SignInMethod}.EMAIL_LINK.
- *
- * @public
- */
-export declare class EmailAuthCredential extends AuthCredential {
- /** @internal */
- readonly _email: string;
- /** @internal */
- readonly _password: string;
- /** @internal */
- readonly _tenantId: string | null;
- /** @internal */
- private constructor();
- /** @internal */
- static _fromEmailAndPassword(email: string, password: string): EmailAuthCredential;
- /** @internal */
- static _fromEmailAndCode(email: string, oobCode: string, tenantId?: string | null): EmailAuthCredential;
- /** {@inheritdoc AuthCredential.toJSON} */
- toJSON(): object;
- /**
- * Static method to deserialize a JSON representation of an object into an {@link AuthCredential}.
- *
- * @param json - Either `object` or the stringified representation of the object. When string is
- * provided, `JSON.parse` would be called first.
- *
- * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
- */
- static fromJSON(json: object | string): EmailAuthCredential | null;
- /** @internal */
- _getIdTokenResponse(auth: AuthInternal): Promise<IdTokenResponse>;
- /** @internal */
- _linkToIdToken(auth: AuthInternal, idToken: string): Promise<IdTokenResponse>;
- /** @internal */
- _getReauthenticationResolver(auth: AuthInternal): Promise<IdTokenResponse>;
-}
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/index.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/index.d.ts
deleted file mode 100644
index 475dee6..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/index.d.ts
+++ /dev/null
@@ -1,23 +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.
- */
-/**
- * This file is required due to the circular dependency from the parent class to its children
- */
-export { AuthCredential } from './auth_credential';
-export { EmailAuthCredential } from './email';
-export { OAuthCredential } from './oauth';
-export { PhoneAuthCredential as PhoneAuthCredential } from './phone';
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/oauth.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/oauth.d.ts
deleted file mode 100644
index 96a1928..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/oauth.d.ts
+++ /dev/null
@@ -1,81 +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 { AuthInternal } from '../../model/auth';
-import { IdTokenResponse } from '../../model/id_token';
-import { AuthCredential } from './auth_credential';
-export interface OAuthCredentialParams {
- idToken?: string | null;
- accessToken?: string | null;
- oauthToken?: string;
- secret?: string;
- oauthTokenSecret?: string;
- nonce?: string;
- pendingToken?: string;
- providerId: string;
- signInMethod: string;
-}
-/**
- * Represents the OAuth credentials returned by an {@link OAuthProvider}.
- *
- * @remarks
- * Implementations specify the details about each auth provider's credential requirements.
- *
- * @public
- */
-export declare class OAuthCredential extends AuthCredential {
- /**
- * The OAuth ID token associated with the credential if it belongs to an OIDC provider,
- * such as `google.com`.
- * @readonly
- */
- idToken?: string;
- /**
- * The OAuth access token associated with the credential if it belongs to an
- * {@link OAuthProvider}, such as `facebook.com`, `twitter.com`, etc.
- * @readonly
- */
- accessToken?: string;
- /**
- * The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0
- * provider, such as `twitter.com`.
- * @readonly
- */
- secret?: string;
- private nonce?;
- private pendingToken;
- /** @internal */
- static _fromParams(params: OAuthCredentialParams): OAuthCredential;
- /** {@inheritdoc AuthCredential.toJSON} */
- toJSON(): object;
- /**
- * Static method to deserialize a JSON representation of an object into an
- * {@link AuthCredential}.
- *
- * @param json - Input can be either Object or the stringified representation of the object.
- * When string is provided, JSON.parse would be called first.
- *
- * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
- */
- static fromJSON(json: string | object): OAuthCredential | null;
- /** @internal */
- _getIdTokenResponse(auth: AuthInternal): Promise<IdTokenResponse>;
- /** @internal */
- _linkToIdToken(auth: AuthInternal, idToken: string): Promise<IdTokenResponse>;
- /** @internal */
- _getReauthenticationResolver(auth: AuthInternal): Promise<IdTokenResponse>;
- private buildRequest;
-}
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/phone.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/phone.d.ts
deleted file mode 100644
index 1924744..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/phone.d.ts
+++ /dev/null
@@ -1,52 +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 { PhoneOrOauthTokenResponse } from '../../api/authentication/mfa';
-import { SignInWithPhoneNumberRequest } from '../../api/authentication/sms';
-import { AuthInternal } from '../../model/auth';
-import { IdTokenResponse } from '../../model/id_token';
-import { AuthCredential } from './auth_credential';
-export interface PhoneAuthCredentialParameters {
- verificationId?: string;
- verificationCode?: string;
- phoneNumber?: string;
- temporaryProof?: string;
-}
-/**
- * Represents the credentials returned by {@link PhoneAuthProvider}.
- *
- * @public
- */
-export declare class PhoneAuthCredential extends AuthCredential {
- private readonly params;
- private constructor();
- /** @internal */
- static _fromVerification(verificationId: string, verificationCode: string): PhoneAuthCredential;
- /** @internal */
- static _fromTokenResponse(phoneNumber: string, temporaryProof: string): PhoneAuthCredential;
- /** @internal */
- _getIdTokenResponse(auth: AuthInternal): Promise<PhoneOrOauthTokenResponse>;
- /** @internal */
- _linkToIdToken(auth: AuthInternal, idToken: string): Promise<IdTokenResponse>;
- /** @internal */
- _getReauthenticationResolver(auth: AuthInternal): Promise<IdTokenResponse>;
- /** @internal */
- _makeVerificationRequest(): SignInWithPhoneNumberRequest;
- /** {@inheritdoc AuthCredential.toJSON} */
- toJSON(): object;
- /** Generates a phone credential based on a plain object or a JSON string. */
- static fromJSON(json: object | string): PhoneAuthCredential | null;
-}
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/saml.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/saml.d.ts
deleted file mode 100644
index 54fea84..0000000
--- a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/credentials/saml.d.ts
+++ /dev/null
@@ -1,52 +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 { AuthInternal } from '../../model/auth';
-import { IdTokenResponse } from '../../model/id_token';
-import { AuthCredential } from './auth_credential';
-/**
- * @public
- */
-export declare class SAMLAuthCredential extends AuthCredential {
- private readonly pendingToken;
- /** @internal */
- private constructor();
- /** @internal */
- _getIdTokenResponse(auth: AuthInternal): Promise<IdTokenResponse>;
- /** @internal */
- _linkToIdToken(auth: AuthInternal, idToken: string): Promise<IdTokenResponse>;
- /** @internal */
- _getReauthenticationResolver(auth: AuthInternal): Promise<IdTokenResponse>;
- /** {@inheritdoc AuthCredential.toJSON} */
- toJSON(): object;
- /**
- * Static method to deserialize a JSON representation of an object into an
- * {@link AuthCredential}.
- *
- * @param json - Input can be either Object or the stringified representation of the object.
- * When string is provided, JSON.parse would be called first.
- *
- * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
- */
- static fromJSON(json: string | object): SAMLAuthCredential | null;
- /**
- * Helper static method to avoid exposing the constructor to end users.
- *
- * @internal
- */
- static _create(providerId: string, pendingToken: string): SAMLAuthCredential;
- private buildRequest;
-}