finishAuthentication method

Future<UserInfo> finishAuthentication({
  1. required Uri url,
  2. required AuthenticateRequest request,
})

Implementation

Future<UserInfo> finishAuthentication({
  required Uri url,
  required AuthenticateRequest request,
}) async {
  final userInfo = await authgear.internalFinishAuthentication(
    url: url,
    redirectURI: request.redirectURI,
    codeVerifier: request._verifier,
  );
  return userInfo;
}