Table of Contents

TAuthResult.SetProfile Method

Replaces the user Profile with one built from the supplied claims. Used by plain OAuth2 flows (no id_token) where the profile is obtained from a user-info endpoint instead of being parsed from the identity token. The instance takes ownership of ASource.

Syntax

Unit: Sphinx.OidcClient.AuthResult

procedure TAuthResult.SetProfile(ASource: TJObject);

Parameters

<-> Parameter Type Description
ASource TJObject

See also