Table of Contents

TSphinxLogin.RequestToken Method

Retrieves access token using client credentials flow.

Remarks

This method retrieves access token from the Sphinx server using client credentials flow. The client id and scope to be retrieved are defined in properties ClientId and Scope respectively.

Syntax

Unit: Sphinx.Login

function TSphinxLogin.RequestToken(const ClientSecret: string): ITokenResult;

Parameters

<-> Parameter Type Description
const ClientSecret string The client secret used to request the token.

See also