def to_json(_ = nil)
      JSON.unparse(authority: [authority.host, authority.tenant],
                   client_id: client_id,
                   token_response: token_response)
    end
def to_json(_ = nil)
      JSON.unparse(authority: [authority.host, authority.tenant],
                   client_id: client_id,
                   token_response: token_response)
    end
Constructs a new CachedTokenResponse.

 @param ClientCredential|ClientAssertion|ClientAssertionCertificate
   The credentials of the calling client application.
 @param Authority authority
   The ADAL::Authority object that the response was retrieved from.
 @param SuccessResponse token_response
   The token response to be cached.

 Converts the fields in this object and its proxied SuccessResponse into
 a JSON string.

 @param JSON::Ext::Generator::State
   We don't care about the state, but JSON::unparse requires this.
 @return String