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"
}