AuthResponse.fromPassKeyRegisterFinishRsp constructor

AuthResponse.fromPassKeyRegisterFinishRsp(
  1. PassKeyRegisterFinishRsp response
)

Implementation

factory AuthResponse.fromPassKeyRegisterFinishRsp(
    PassKeyRegisterFinishRsp response) {
  return AuthResponse(
    token: response.data.shortSession!.value,
    refreshToken: response.data.longSession!,
  );
}