Authenticated.fromResponse constructor
Authenticated.fromResponse(
- Response<
AuthenticationResponse> response
Implementation
Authenticated.fromResponse(Response<AuthenticationResponse> response)
: token = response.value!.token,
userInfo = response.value!.userInfo,
tokenExpireDate = response.value!.tokenExpireDate;