Table of Contents

TOidcClient.RequestToken Method

Requests an access token using the client credentials flow.

Remarks

Uses ClientId and ClientSecret to authenticate directly with the token endpoint. No user interaction or redirect is involved. This flow is intended for machine-to-machine communication where the client acts on its own behalf.

Syntax

Unit: Sphinx.OidcClient

function TOidcClient.RequestToken: ITokenResult;

See also