Appearance
cloudfire-auth / CreateRequest
Interface: CreateRequest
Defined in: types/firebase-admin/auth-config.ts:201
Interface representing the properties to set on a new user record to be created.
Extends
Properties
disabled?
optionaldisabled:boolean
Defined in: types/firebase-admin/auth-config.ts:120
Whether or not the user is disabled: true for disabled; false for enabled.
Inherited from
displayName?
optionaldisplayName:string|null
Defined in: types/firebase-admin/auth-config.ts:124
The user's display name.
Inherited from
email?
optionalemail:string
Defined in: types/firebase-admin/auth-config.ts:128
The user's primary email.
Inherited from
emailVerified?
optionalemailVerified:boolean
Defined in: types/firebase-admin/auth-config.ts:132
Whether or not the user's primary email is verified.
Inherited from
multiFactor?
optionalmultiFactor:MultiFactorCreateSettings
Defined in: types/firebase-admin/auth-config.ts:209
The user's multi-factor related properties.
Overrides
password?
optionalpassword:string
Defined in: types/firebase-admin/auth-config.ts:136
The user's unhashed password.
Inherited from
phoneNumber?
optionalphoneNumber:string|null
Defined in: types/firebase-admin/auth-config.ts:140
The user's primary phone number.
Inherited from
photoURL?
optionalphotoURL:string|null
Defined in: types/firebase-admin/auth-config.ts:144
The user's photo URL.
Inherited from
providersToUnlink?
optionalprovidersToUnlink:string[]
Defined in: types/firebase-admin/auth-config.ts:166
Unlinks this user from the specified providers.
Inherited from
UpdateRequest.providersToUnlink
providerToLink?
optionalproviderToLink:UserProvider
Defined in: types/firebase-admin/auth-config.ts:162
Links this user to the specified provider.
Linking a provider to an existing user account does not invalidate the refresh token of that account. In other words, the existing account would continue to be able to access resources, despite not having used the newly linked provider to log in. If you wish to force the user to authenticate with this new provider, you need to (a) revoke their refresh token (see https://firebase.google.com/docs/auth/admin/manage-sessions#revoke_refresh_tokens), and (b) ensure no other authentication methods are present on this account.
Inherited from
uid?
optionaluid:string
Defined in: types/firebase-admin/auth-config.ts:205
The user's uid.