Authorization
API Name: Authorization__c
Stores the Access and Refresh Token per User
| Label | API Name | Type | Description |
|---|---|---|---|
| Name | Name |
Text(255) | |
| Access Token | AccessToken__c |
Text(255) | The access token for the DATEV API |
| CodeVerifier | CodeVerifier__c |
Text(255) | One-time key to support PKCE |
| Full Name | FullName__c |
Text(255) | Full name of the user in the DATEV environment. |
| Refresh Token Expiry | RefreshTokenExpiry__c |
DateTime | The calculated expiry date/time for the refresh token. |
| Refresh Token | RefreshToken__c |
Text(255) | The refresh token for the DATEV API |
| Deprecated | SessionHash__c |
Text(20) | The session hash links the tokens to the current session id. This will invalidate the authorization, once the user does a logout of Salesforce. |