/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
firebase-admin
/
lib
/
auth
/
/var/www/greso.tech/server/nsm/node_modules/firebase-admin/lib/auth
mkdir
upload
Name
Size
Mode
Actions
action-code-settings-builder.d.ts
3657
0644
edit
dl
rm
action-code-settings-builder.js
6245
0644
edit
dl
rm
auth-api-request.d.ts
7987
0644
edit
dl
rm
auth-api-request.js
90650
0644
edit
dl
rm
auth-config.d.ts
25639
0644
edit
dl
rm
auth-config.js
52776
0644
edit
dl
rm
auth-namespace.d.ts
11003
0644
edit
dl
rm
auth-namespace.js
701
0644
edit
dl
rm
auth.d.ts
1712
0644
edit
dl
rm
auth.js
2231
0644
edit
dl
rm
base-auth.d.ts
30255
0644
edit
dl
rm
base-auth.js
47247
0644
edit
dl
rm
identifier.d.ts
1754
0644
edit
dl
rm
identifier.js
1489
0644
edit
dl
rm
index.d.ts
3354
0644
edit
dl
rm
index.js
3932
0644
edit
dl
rm
project-config-manager.d.ts
764
0644
edit
dl
rm
project-config-manager.js
1536
0644
edit
dl
rm
project-config.d.ts
3115
0644
edit
dl
rm
project-config.js
6262
0644
edit
dl
rm
tenant-manager.d.ts
6176
0644
edit
dl
rm
tenant-manager.js
9305
0644
edit
dl
rm
tenant.d.ts
6274
0644
edit
dl
rm
tenant.js
11460
0644
edit
dl
rm
token-generator.d.ts
1528
0644
edit
dl
rm
token-generator.js
8593
0644
edit
dl
rm
token-verifier.d.ts
7647
0644
edit
dl
rm
token-verifier.js
16054
0644
edit
dl
rm
user-import-builder.d.ts
10966
0644
edit
dl
rm
user-import-builder.js
18269
0644
edit
dl
rm
user-record.d.ts
8082
0644
edit
dl
rm
user-record.js
13597
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/firebase-admin/lib/auth/tenant.d.ts
(6274B)
/*! firebase-admin v11.9.0 */ /*! * Copyright 2019 Google Inc. * * 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 { EmailSignInConfigServerRequest, MultiFactorAuthServerConfig, MultiFactorConfig, EmailSignInProviderConfig, SmsRegionConfig, RecaptchaConfig, PasswordPolicyConfig, PasswordPolicyAuthServerConfig } from './auth-config'; /** * Interface representing the properties to update on the provided tenant. */ export interface UpdateTenantRequest { /** * The tenant display name. */ displayName?: string; /** * The email sign in configuration. */ emailSignInConfig?: EmailSignInProviderConfig; /** * Whether the anonymous provider is enabled. */ anonymousSignInEnabled?: boolean; /** * The multi-factor auth configuration to update on the tenant. */ multiFactorConfig?: MultiFactorConfig; /** * The updated map containing the test phone number / code pairs for the tenant. * Passing null clears the previously save phone number / code pairs. */ testPhoneNumbers?: { [phoneNumber: string]: string; } | null; /** * The SMS configuration to update on the project. */ smsRegionConfig?: SmsRegionConfig; /** * The reCAPTCHA configuration to update on the tenant. * By enabling reCAPTCHA Enterprise integration, you are * agreeing to the reCAPTCHA Enterprise * {@link https://cloud.google.com/terms/service-terms | Term of Service}. */ recaptchaConfig?: RecaptchaConfig; /** * The password policy configuration for the tenant */ passwordPolicyConfig?: PasswordPolicyConfig; } /** * Interface representing the properties to set on a new tenant. */ export type CreateTenantRequest = UpdateTenantRequest; /** The corresponding server side representation of a TenantOptions object. */ export interface TenantOptionsServerRequest extends EmailSignInConfigServerRequest { displayName?: string; enableAnonymousUser?: boolean; mfaConfig?: MultiFactorAuthServerConfig; testPhoneNumbers?: { [key: string]: string; }; smsRegionConfig?: SmsRegionConfig; recaptchaConfig?: RecaptchaConfig; passwordPolicyConfig?: PasswordPolicyAuthServerConfig; } /** The tenant server response interface. */ export interface TenantServerResponse { name: string; displayName?: string; allowPasswordSignup?: boolean; enableEmailLinkSignin?: boolean; enableAnonymousUser?: boolean; mfaConfig?: MultiFactorAuthServerConfig; testPhoneNumbers?: { [key: string]: string; }; smsRegionConfig?: SmsRegionConfig; recaptchaConfig?: RecaptchaConfig; passwordPolicyConfig?: PasswordPolicyAuthServerConfig; } /** * Represents a tenant configuration. * * Multi-tenancy support requires Google Cloud's Identity Platform * (GCIP). To learn more about GCIP, including pricing and features, * see the {@link https://cloud.google.com/identity-platform | GCIP documentation}. * * Before multi-tenancy can be used on a Google Cloud Identity Platform project, * tenants must be allowed on that project via the Cloud Console UI. * * A tenant configuration provides information such as the display name, tenant * identifier and email authentication configuration. * For OIDC/SAML provider configuration management, `TenantAwareAuth` instances should * be used instead of a `Tenant` to retrieve the list of configured IdPs on a tenant. * When configuring these providers, note that tenants will inherit * whitelisted domains and authenticated redirect URIs of their parent project. * * All other settings of a tenant will also be inherited. These will need to be managed * from the Cloud Console UI. */ export declare class Tenant { /** * The tenant identifier. */ readonly tenantId: string; /** * The tenant display name. */ readonly displayName?: string; readonly anonymousSignInEnabled: boolean; /** * The map containing the test phone number / code pairs for the tenant. */ readonly testPhoneNumbers?: { [phoneNumber: string]: string; }; private readonly emailSignInConfig_?; private readonly multiFactorConfig_?; /** * The map conatining the reCAPTCHA config. * By enabling reCAPTCHA Enterprise Integration you are * agreeing to reCAPTCHA Enterprise * {@link https://cloud.google.com/terms/service-terms | Term of Service}. */ private readonly recaptchaConfig_?; /** * The SMS Regions Config to update a tenant. * Configures the regions where users are allowed to send verification SMS. * This is based on the calling code of the destination phone number. */ readonly smsRegionConfig?: SmsRegionConfig; /** * The password policy configuration for the tenant */ readonly passwordPolicyConfig?: PasswordPolicyConfig; /** * Validates a tenant options object. Throws an error on failure. * * @param request - The tenant options object to validate. * @param createRequest - Whether this is a create request. */ private static validate; /** * The email sign in provider configuration. */ get emailSignInConfig(): EmailSignInProviderConfig | undefined; /** * The multi-factor auth configuration on the current tenant. */ get multiFactorConfig(): MultiFactorConfig | undefined; /** * The recaptcha config auth configuration of the current tenant. */ get recaptchaConfig(): RecaptchaConfig | undefined; /** * Returns a JSON-serializable representation of this object. * * @returns A JSON-serializable representation of this object. */ toJSON(): object; }
Save
cmd:
run