authenticate method
Future<EnrollmentSession>
authenticate({
- required String atSign,
- required String enrollmentId,
- required ApkamKeyPair apkamKeyPair,
override
Authenticates enrollmentId with apkamKeyPair.
Throws PkamRefusedException when classifyConnectionFailure reads the
atServer's reply to the pkam: as a refusal whose cause is
unauthenticated, revoked, enrollmentDenied or invalidEnrollment;
any other failure, a pending enrollment or a failure before the pkam:
included, propagates as it is.
Implementation
@override
Future<EnrollmentSession> authenticate(
{required String atSign,
required String enrollmentId,
required ApkamKeyPair apkamKeyPair}) =>
_authenticated(atSign, enrollmentId, apkamKeyPair, keys: null);