The App Login Object
Overviewβ
The App Login object represents user authentication sessions in Verifik. It tracks login attempts and links them to specific validation methods (email, phone, or biometric).
Attributesβ
clientβ
Type: ObjectId
Required: Yes
Client ID associated with this login request.
nameβ
Type: String
Required: No
Optional name for the login session.
statusβ
Type: String
Required: No
Status of the login request (e.g., pending, completed, failed).
projectβ
Type: ObjectId
Required: Yes
Project ID linked to this login request.
projectFlowβ
Type: ObjectId
Required: Yes
ProjectFlow ID that defines the flow configuration for this login.
typeβ
Type: String
Required: Yes
Type of login being attempted. Must be one of:
emailphonefaceLiveness
emailValidationβ
Type: ObjectId
Required: No
Reference to the EmailValidation object if an email-based login is used.
phoneValidationβ
Type: ObjectId
Required: No
Reference to the PhoneValidation object if a phone-based login is used.
biometricValidationβ
Type: ObjectId
Required: No
Reference to the BiometricValidation object if a biometric login is used.
faceβ
Type: ObjectId
Required: No
Reference to the IdentityImage object, used for facial recognition or liveness checks.
accessControlLogβ
Type: ObjectId
Required: No
Reference to the AccessControlLog object, used to log access control actions related to this login.
Example Objectβ
{
"_id": "66e464acbad79f3a380d408f",
"client": "5f43a1b5e4b0d51d5b6f3e57",
"name": "Login for Project A",
"status": "completed",
"project": "5f43a1b5e4b0d51d5b6f3e58",
"projectFlow": "5f43a1b5e4b0d51d5b6f3e59",
"type": "email",
"emailValidation": "5f43a1b5e4b0d51d5b6f3e60",
"phoneValidation": null,
"biometricValidation": null,
"face": null,
"accessControlLog": "5f43a1b5e4b0d51d5b6f3e61",
"createdAt": "2024-09-13T16:13:32.942Z",
"updatedAt": "2024-09-13T16:13:32.942Z"
}