OidcTokenResponse.fromJson constructor

OidcTokenResponse.fromJson(
  1. dynamic data
)

Implementation

OidcTokenResponse.fromJson(dynamic data) {
  var jsonObject = credentialToMap(data);
  accessToken = jsonObject['access_token'];
  refreshToken = jsonObject['refresh_token'];
  cNonce = jsonObject['c_nonce'];
  cNonceExpiresIn = jsonObject['c_nonce_expires_in'];
  authorizationPending = jsonObject['authorization_pending'];
  interval = jsonObject['interval'];
}