FlutterAuthenticationRequest class
The Auth Smile request. Auth Smile serves multiple purposes:
- It is used to fetch the signature needed for subsequent API requests
- It indicates the type of job that will being performed
- It is used to fetch consent information for the partner
jobType The type of job that will be performed country The country code of the country where the job is being performed. This value is required in order to get back consent information for the partner idType The type of ID that will be used for the job. This value is required in order to get back consent information for the partner updateEnrolledImage Whether or not the enrolled image should be updated with image submitted for this job jobId The job ID to associate with the job. Most often, this will correspond to a unique Job ID within your own system. If not provided, a random job ID will be generated userId The user ID to associate with the job. Most often, this will correspond to a unique User ID within your own system. If not provided, a random user ID will be generated
Constructors
- FlutterAuthenticationRequest({required FlutterJobType jobType, String? country, String? idType, bool? updateEnrolledImage, String? jobId, String? userId})
Properties
- country ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- idType ↔ String?
-
getter/setter pair
- jobId ↔ String?
-
getter/setter pair
- jobType ↔ FlutterJobType
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateEnrolledImage ↔ bool?
-
getter/setter pair
- userId ↔ String?
-
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
Object result) → FlutterAuthenticationRequest