Token Cache

Back to Integrations

Overview

Below is a business-focused explanation of the Token Cache document type, written for functional users and business stakeholders.


Token Cache – Business Overview

What the Token Cache is used for

The Token Cache is a system-level record used by Dafater to securely remember access permissions when it connects with external services.
In simple terms, it allows Dafater to “stay logged in” to approved third‑party platforms so that business processes can run smoothly without repeated manual approvals.

This ensures that integrations such as banking services, payment providers, identity services, or external data sources continue working without interruption.


Prerequisites and setup requirements

Before the Token Cache is used, the following must already be in place:

Once these prerequisites are met, Dafater automatically manages the Token Cache in the background.


Typical workflow and business process fit

The Token Cache fits into business operations as a silent enabler:

  1. A business process requires data or action from an external service
  2. Dafater checks the Token Cache to confirm valid access
  3. If access is still valid, the process continues without interruption
  4. If access has expired, Dafater refreshes or replaces the token automatically
  5. Business users experience uninterrupted operations

Users do not manually create or update Token Cache records during normal operations.


Key business scenarios where Token Cache is essential

The Token Cache is critical in scenarios such as:

Without the Token Cache, these activities would require frequent manual re‑authentication, slowing down operations.


Important considerations for users


Business value summary

The Token Cache ensures reliability, security, and efficiency in integrated business processes. By safely storing access permissions, it allows Dafater to support continuous operations, reduce manual effort, and maintain trusted connections with external services.

Basic Information

Fields

Field Name Label Type Required Options Description
user User Link User Dafater user associated with the stored authentication token
connected_app Connected App Link Connected App External application connected to Dafater using this token
provider_name Provider Name Data - Authentication provider name issuing the token
access_token Access Token Password - Encrypted access token for authorized API requests
refresh_token Refresh Token Password - Encrypted token used to refresh expired access tokens
expires_in Expires In Int - Token validity duration in seconds
state State Data - OAuth state value for request validation
scopes Scopes Table OAuth Scope List of permissions granted to the connected application
success_uri Success URI Data - Redirect URI after successful authentication
token_type Token Type Data - Type of authentication token issued

Child Tables

Scopes (OAuth Scope)

Field Name Label Type Required Options Description
scope Scope Data - Defines API access permissions granted to applications

Permissions

Role Read Write Create Delete Submit Cancel
All
System Manager
DocType Relationship Module
Connected App Links to Integrations
User Links to Core