AuthenticationRecord Class 
Non-secret account information for an authenticated user
This class enables DeviceCodeCredential and InteractiveBrowserCredential to access previously cached authentication data. Applications shouldn't construct instances of this class. They should instead acquire one from a credential's authenticate method, such as authenticate. See the user_authentication sample for more details.
Constructor
AuthenticationRecord(tenant_id: str, client_id: str, authority: str, home_account_id: str, username: str)Parameters
| Name | Description | 
|---|---|
| tenant_id 
				Required
			 | The tenant the account should authenticate in. | 
| client_id 
				Required
			 | The client ID of the application which performed the original authentication. | 
| authority 
				Required
			 | The authority host used to authenticate the account. | 
| home_account_id 
				Required
			 | A unique identifier of the account. | 
| username 
				Required
			 | The user principal or service principal name of the account. | 
Methods
| deserialize | Deserialize a record. | 
| serialize | Serialize the record. | 
deserialize
Deserialize a record.
deserialize(data: str) -> AuthenticationRecordParameters
| Name | Description | 
|---|---|
| data 
				Required
			 | A serialized record. | 
Returns
| Type | Description | 
|---|---|
| The deserialized record. | 
serialize
Attributes
authority
The authority host used to authenticate the account.
Returns
| Type | Description | 
|---|---|
| The authority host used to authenticate the account. | 
client_id
The client ID of the application which performed the original authentication.
Returns
| Type | Description | 
|---|---|
| The client ID of the application which performed the original authentication. | 
home_account_id
A unique identifier of the account.
Returns
| Type | Description | 
|---|---|
| A unique identifier of the account. | 
tenant_id
The tenant the account should authenticate in.
Returns
| Type | Description | 
|---|---|
| The tenant the account should authenticate in. | 
username
The user principal or service principal name of the account.
Returns
| Type | Description | 
|---|---|
| The user principal or service principal name of the account. |