Table of Contents

TOidcClient.DoValidateIssuer Method

Validates a token's issuer claim against the expected issuer, resolving any {tenantid} placeholder with the supplied tenant id before comparing.

Remarks

Exposed for testing. Honors SkipIssuerValidation and OnValidateIssuer, and raises EOidcClientException when the issuer is rejected.

Syntax

Unit: Sphinx.OidcClient

procedure TOidcClient.DoValidateIssuer(const ExpectedIssuer: string; const TokenIssuer: string; const TenantId: string);

Parameters

<-> Parameter Type Description
const ExpectedIssuer string
const TokenIssuer string
const TenantId string

See also