EnrollmentService class abstract
EnrollmentService contains methods to fetch the enrollment details and methods to perform operations on the enrollments.
An app reaches these through client.enrollments, which builds each
decision from an enrollment id.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
approve(
EnrollmentRequestDecision enrollmentRequestDecision) → Future< AtEnrollmentResponse> -
Approves the enrollment request
enrollmentRequestDecisionnames. -
deny(
EnrollmentRequestDecision enrollmentRequestDecision) → Future< AtEnrollmentResponse> - Denies an enrollment request. When an enrollment is denied, the requesting app is prevented from login into the application.
-
fetchEnrollmentRequests(
{EnrollmentListRequestParam? enrollmentListParams}) → Future< List< Enrollment> > - Fetches all enrollment requests from the server. Optionally accepts EnrollmentListRequestParam to filter the enrollment requests.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revoke(
EnrollmentRequestDecision enrollmentRequestDecision) → Future< AtEnrollmentResponse> - Revokes an approved enrollment. When an enrollment ID is revoked, it becomes expired and cannot be used further.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited