Table of Contents

TTMSMCPStellarDS.AccessToken Property

Token sent as the bearer credential in the authorization header of every request.

API unit family: TMS.MCP.StellarDS Declaring type: TTMSMCPStellarDS Type: string

Syntax

property AccessToken: string;

Remarks

Assign a token that reaches the projects the calls should work on; it is the only credential the component uses, and it decides which projects GetProjects reports. Assigning the property only stores the value, without contacting the service and without checking the token, so an invalid or expired token is first noticed when a call answers nil. The header is built for each request from the value held at that moment, so a request that is already running keeps the token it started with.