v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13204059.1 KB
relyingparty

Batch upload existing user accounts.

post/uploadAccount

Request body

blockSizeinteger
allowOverwriteboolean

Whether allow overwrite existing account when user local_id exists.

hashAlgorithmstring

The password hash algorithm.

saltSeparatorstring byte

The salt separator.

signerKeystring byte

The key for to hash the password.

cpuMemCostinteger

The following 4 fields are for standard scrypt algorithm.

parallelizationinteger
dkLeninteger
memoryCostinteger

Memory cost for hash calculation. Used by scrypt similar algorithms.

sanityCheckboolean

If true, backend will do sanity check(including duplicate email and federated id) when uploading account.

roundsinteger

Rounds for hash calculation. Used by scrypt and similar algorithms.

delegatedProjectNumberstring int64

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.

targetProjectIdstring

Specify which project (field value is actually project id) to operate. Only used when provided credential.

Response

Successful response