FaceEnrollPredictResult¶
This section covers how to use the Enroll / Predict result object.
- class cryptonets_python_sdk.helper.result_objects.enrollPredictResult.FaceEnrollPredictResult(enroll_level=None, puid=None, guid=None, token=None, code=None, score=None, status=-1, message='', api_message='', api_status=None, enroll_performed=False)¶
- Attributes:
api_messageReturns the message received from the API of the operation
api_statusReturns the status received from the API of the operation
enroll_levelReturns the enroll_level of the user
enroll_performedReturns True if enroll was actually performed,
guidReturns the GUID of the user
messageReturns the message of the operation
puidReturns the PUID of the user
statusReturns the status of the operation
tokenReturns the token for verifying the operation
- property api_message: str¶
Returns the message received from the API of the operation
- property api_status: str¶
Returns the status received from the API of the operation 0 - Success else - Failure
- property enroll_level: int¶
Returns the enroll_level of the user 0 - one-factor authentication
1 - two-factor authentication
- property enroll_performed: bool¶
Returns True if enroll was actually performed, False otherwise This property is only relevant for the enroll operation
- property guid: str¶
Returns the GUID of the user
Unique ID of length 20
- property message: str¶
Returns the message of the operation
- property puid: str¶
Returns the PUID of the user
Unique ID of length 20
- property status: int¶
Returns the status of the operation
0 - If successfully obtained result from server
-1 - In case of error
- property token: str¶
Returns the token for verifying the operation
Yet to be implemented for configuration