TTMSFNCCloudOAuthPersistTokens Class
Configures how OAuth authentication tokens are saved and restored.
API unit family: TMSFNCCloudOAuth
Inherits from: TPersistent
Syntax
TTMSFNCCloudOAuthPersistTokens = class(TPersistent)
Remarks
Use this object through TTMSFNCCustomCloudOAuth.PersistTokens to control the persistence location and which credential fields are stored.
Properties
| Name | Description |
|---|---|
| DataSource | Provides the database source used when Location is set to plDatabase. |
| Extra | Stores additional provider-specific token data. |
| Key | Specifies the storage key, file name, registry key, or database key used for persisted token data. |
| Location | Selects the storage backend used for persisted OAuth tokens. |
| SaveCallBack | Specifies whether the callback URL is saved with the persisted token data. |
| SaveClientID | Specifies whether the OAuth client ID is saved with the persisted token data. |
| SaveExtra | Specifies whether Extra is saved when tokens are persisted. |
| SaveKey | Specifies whether the provider key is saved with the persisted token data. |
| SaveSecret | Specifies whether the OAuth client secret is saved with the persisted token data. |
| SaveServerPort | Specifies whether the callback server port is saved with the persisted token data. |
| Section | Specifies the section name used inside the selected token store. |