TValidateIssuerProc Anonymous method
Callback for custom issuer validation during ID token processing.
Remarks
Issuer: The actual issuer value found in the token's iss claim.
ExpectedIssuer: The issuer value derived from the configured Authority.
Valid: Set to False to reject the token. When SkipIssuerValidation is False, this parameter is pre-initialized to the result of the standard string comparison, so the callback can override the default decision in either direction. When SkipIssuerValidation is True, this parameter is pre-initialized to True.
Raising an exception inside the callback also causes token validation to fail.
Syntax
Unit: Sphinx.OidcClient
TValidateIssuerProc = reference to procedure(const Issuer: string; const ExpectedIssuer: string; var Valid: Boolean);