- JSON representation
- SignInConfig
- PhoneNumber
- Anonymous
- NotificationConfig
- SendEmail
- Method
- Smtp
- SecurityMode
- EmailTemplate
- BodyFormat
- DnsInfo
- SendSms
- SmsTemplate
- QuotaConfig
- TemporaryQuota
- MultiTenantConfig
- Subtype
- ClientConfig
- Permissions
- BlockingFunctionsConfig
- Trigger
- ForwardInboundCredentials
Represents an Identity Toolkit project.
JSON representation |
---|
{ "name": string, "signIn": { object ( |
Fields | |
---|---|
name |
Output only. The name of the Config resource. Example: "projects/my-awesome-project/config" |
signIn |
Configuration related to local sign in methods. |
notification |
Configuration related to sending notifications to users. |
quota |
Configuration related to quotas. |
monitoring |
Configuration related to monitoring project activity. |
multiTenant |
Configuration related to multi-tenant functionality. |
authorizedDomains[] |
List of domains authorized for OAuth redirects |
subtype |
Output only. The subtype of this config. |
client |
Options related to how clients making requests on behalf of a project should be configured. |
mfa |
Configuration for this project's multi-factor authentication, including whether it is active and what factors can be used for the second factor |
blockingFunctions |
Configuration related to blocking functions. |
recaptchaConfig |
The project-level reCAPTCHA config. |
smsRegionConfig |
Configures which regions are enabled for SMS verification code sending. |
autodeleteAnonymousUsers |
Whether anonymous users will be auto-deleted after a period of 30 days. |
passwordPolicyConfig |
The project level password policy configuration. |
emailPrivacyConfig |
Configuration for settings related to email privacy and public visibility. |
SignInConfig
Configuration related to local sign in methods.
JSON representation |
---|
{ "email": { object ( |
Fields | |
---|---|
email |
Configuration options related to authenticating a user by their email address. |
phoneNumber |
Configuration options related to authenticated a user by their phone number. |
anonymous |
Configuration options related to authenticating an anonymous user. |
allowDuplicateEmails |
Whether to allow more than one account to have the same email. |
hashConfig |
Output only. Hash config information. |
Configuration options related to authenticating a user by their email address.
JSON representation |
---|
{ "enabled": boolean, "passwordRequired": boolean } |
Fields | |
---|---|
enabled |
Whether email auth is enabled for the project or not. |
passwordRequired |
Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link. |
PhoneNumber
Configuration options related to authenticated a user by their phone number.
JSON representation |
---|
{ "enabled": boolean, "testPhoneNumbers": { string: string, ... } } |
Fields | |
---|---|
enabled |
Whether phone number auth is enabled for the project or not. |
testPhoneNumbers |
A map of <test phone number, fake code> that can be used for phone auth testing. An object containing a list of |
Anonymous
Configuration options related to authenticating an anonymous user.
JSON representation |
---|
{ "enabled": boolean } |
Fields | |
---|---|
enabled |
Whether anonymous user auth is enabled for the project or not. |
NotificationConfig
Configuration related to sending notifications to users.
JSON representation |
---|
{ "sendEmail": { object ( |
Fields | |
---|---|
sendEmail |
Options for email sending. |
sendSms |
Options for SMS sending. |
defaultLocale |
Default locale used for email and SMS in IETF BCP 47 format. |
SendEmail
Options for email sending.
JSON representation |
---|
{ "method": enum ( |
Fields | |
---|---|
method |
The method used for sending an email. |
resetPasswordTemplate |
Email template for reset password |
verifyEmailTemplate |
Email template for verify email |
changeEmailTemplate |
Email template for change email |
legacyResetPasswordTemplate |
Reset password email template for legacy Firebase V1 app. |
callbackUri |
action url in email template. |
dnsInfo |
Information of custom domain DNS verification. |
revertSecondFactorAdditionTemplate |
Email template for reverting second factor addition emails |
Union field email_provider_config . Email provider configuration used to send emails email_provider_config can be only one of the following: |
|
smtp |
Use a custom SMTP relay |
Method
The method used for sending an email.
Enums | |
---|---|
METHOD_UNSPECIFIED |
Email method unspecified. |
DEFAULT |
Sending email on behalf of developer. |
CUSTOM_SMTP |
Sending email using SMTP configuration provided by developers. |
Smtp
Configuration for SMTP relay
JSON representation |
---|
{
"senderEmail": string,
"host": string,
"port": integer,
"username": string,
"password": string,
"securityMode": enum ( |
Fields | |
---|---|
senderEmail |
Sender email for the SMTP relay |
host |
SMTP relay host |
port |
SMTP relay port |
username |
SMTP relay username |
password |
SMTP relay password |
securityMode |
SMTP security mode. |
SecurityMode
SMTP security mode.
Enums | |
---|---|
SECURITY_MODE_UNSPECIFIED |
Default value. Do not use. |
SSL |
SSL mode |
START_TLS |
START_TLS mode |
EmailTemplate
Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project's display name. %DISPLAY_NAME% - The user's display name.
JSON representation |
---|
{
"senderLocalPart": string,
"subject": string,
"senderDisplayName": string,
"body": string,
"bodyFormat": enum ( |
Fields | |
---|---|
senderLocalPart |
Local part of From address |
subject |
Subject of the email |
senderDisplayName |
Sender display name |
body |
Email body |
bodyFormat |
Email body format |
replyTo |
Reply-to address |
customized |
Output only. Whether the body or subject of the email is customized. |
BodyFormat
Email body format
Enums | |
---|---|
BODY_FORMAT_UNSPECIFIED |
Default value. Do not use. |
PLAIN_TEXT |
Plain text |
HTML |
HTML |
DnsInfo
Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain.
JSON representation |
---|
{
"customDomain": string,
"useCustomDomain": boolean,
"pendingCustomDomain": string,
"customDomainState": enum ( |
Fields | |
---|---|
customDomain |
Output only. The applied verified custom domain. |
useCustomDomain |
Whether to use custom domain. |
pendingCustomDomain |
Output only. The custom domain that's to be verified. |
customDomainState |
Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful. |
domainVerificationRequestTime |
Output only. The timestamp of initial request for the current domain verification. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
SendSms
Options for SMS sending.
JSON representation |
---|
{
"useDeviceLocale": boolean,
"smsTemplate": {
object ( |
Fields | |
---|---|
useDeviceLocale |
Whether to use the accept_language header for SMS. |
smsTemplate |
Output only. The template to use when sending an SMS. |
SmsTemplate
The template to use when sending an SMS.
JSON representation |
---|
{ "content": string } |
Fields | |
---|---|
content |
Output only. The SMS's content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app's display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS. |
QuotaConfig
Configuration related to quotas.
JSON representation |
---|
{
"signUpQuotaConfig": {
object ( |
Fields | |
---|---|
signUpQuotaConfig |
Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP. |
TemporaryQuota
Temporary quota increase / decrease
JSON representation |
---|
{ "quota": string, "startTime": string, "quotaDuration": string } |
Fields | |
---|---|
quota |
Corresponds to the 'refill_token_count' field in QuotaServer config |
startTime |
When this quota will take effect A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
quotaDuration |
How long this quota will be active for A duration in seconds with up to nine fractional digits, ending with ' |
MultiTenantConfig
Configuration related to multi-tenant functionality.
JSON representation |
---|
{ "allowTenants": boolean, "defaultTenantLocation": string } |
Fields | |
---|---|
allowTenants |
Whether this project can have tenants or not. |
defaultTenantLocation |
The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of " |
Subtype
The subtype of this config.
Enums | |
---|---|
SUBTYPE_UNSPECIFIED |
Default value. Do not use. |
IDENTITY_PLATFORM |
An Identity Platform project. |
FIREBASE_AUTH |
A Firebase Authentication project. |
ClientConfig
Options related to how clients making requests on behalf of a project should be configured.
JSON representation |
---|
{
"apiKey": string,
"permissions": {
object ( |
Fields | |
---|---|
apiKey |
Output only. API key that can be used when making requests for this project. |
permissions |
Configuration related to restricting a user's ability to affect their account. |
firebaseSubdomain |
Output only. Firebase subdomain. |
Permissions
Configuration related to restricting a user's ability to affect their account.
JSON representation |
---|
{ "disabledUserSignup": boolean, "disabledUserDeletion": boolean } |
Fields | |
---|---|
disabledUserSignup |
When true, end users cannot sign up for a new account on the associated project through any of our API methods |
disabledUserDeletion |
When true, end users cannot delete their account on the associated project through any of our API methods |
BlockingFunctionsConfig
Configuration related to Blocking Functions.
JSON representation |
---|
{ "triggers": { string: { object ( |
Fields | |
---|---|
triggers |
Map of Trigger to event type. Key should be one of the supported event types: "beforeCreate", "beforeSignIn" An object containing a list of |
forwardInboundCredentials |
The user credentials to include in the JWT payload that is sent to the registered Blocking Functions. |
Trigger
Synchronous Cloud Function with HTTP Trigger
JSON representation |
---|
{ "functionUri": string, "updateTime": string } |
Fields | |
---|---|
functionUri |
HTTP URI trigger for the Cloud Function. |
updateTime |
When the trigger was changed. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ForwardInboundCredentials
Indicates which credentials to pass to the registered Blocking Functions.
JSON representation |
---|
{ "idToken": boolean, "accessToken": boolean, "refreshToken": boolean } |
Fields | |
---|---|
idToken |
Whether to pass the user's OIDC identity provider's ID token. |
accessToken |
Whether to pass the user's OAuth identity provider's access token. |
refreshToken |
Whether to pass the user's OAuth identity provider's refresh token. |