Package com.thalesgroup.gemalto.d1.authn
Interface D1Authn
-
public interface D1AuthnEntry point to access the Authn features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidenrollAuthnCredentials(AuthnType preferredAuthnType, D1Task.Callback<Void> callback)Enrols the end user's device for authentication.voidfetchAuthnRequest(D1Task.Callback<Void> callback)Fetches a pending authentication request.AuthnTypegetEnrolledAuthnType()Get enrolled authn type.voidunenrollAuthnCredentials(D1Task.Callback<Void> callback)Unenroll the user's device.
-
-
-
Method Detail
-
enrollAuthnCredentials
void enrollAuthnCredentials(@Nullable AuthnType preferredAuthnType, @NonNull D1Task.Callback<Void> callback)
Enrols the end user's device for authentication.- Parameters:
preferredAuthnType- The preferred authn type.callback- The callback is invoked when the enroll authentication credential process is completed. When it succeeds, the returned argument of theD1Task.Callback.onSuccess(Object)is always null.
Possible errors:
-
unenrollAuthnCredentials
void unenrollAuthnCredentials(@NonNull D1Task.Callback<Void> callback)
Unenroll the user's device.- Parameters:
callback- The callback invoked when the unenrollment of authn credential process is completed. If device is not enrolled, success callback is invoked.
Possible errors:
- Since:
- 3.1.0
-
-
fetchAuthnRequest
void fetchAuthnRequest(@NonNull D1Task.Callback<Void> callback)
Fetches a pending authentication request.- Parameters:
callback- The callback is invoked when the fetch authn request process is completed. When it succeeds, the returned argument of theD1Task.Callback.onSuccess(Object)is always null.
Possible errors:
-