depending on the purpose of auth, as specified in /auth/init, the response may include the following 1. LINK - only returns accessToken 2. KYC - only returns patient 3. KYC_AND_LINK - returns both accessToken and patient
Name | Type | Description | Notes |
---|---|---|---|
access_token | str | access token for initialization of subsequent action. | [optional] |
validity | AccessTokenValidity | [optional] | |
patient | PatientDemographicResponse | [optional] |
from abdm.models.patient_auth_confirm_response_auth import PatientAuthConfirmResponseAuth
# TODO update the JSON string below
json = "{}"
# create an instance of PatientAuthConfirmResponseAuth from a JSON string
patient_auth_confirm_response_auth_instance = PatientAuthConfirmResponseAuth.from_json(json)
# print the JSON string representation of the object
print(PatientAuthConfirmResponseAuth.to_json())
# convert the object into a dict
patient_auth_confirm_response_auth_dict = patient_auth_confirm_response_auth_instance.to_dict()
# create an instance of PatientAuthConfirmResponseAuth from a dict
patient_auth_confirm_response_auth_from_dict = PatientAuthConfirmResponseAuth.from_dict(patient_auth_confirm_response_auth_dict)