Table of Contents

TUserClaim.Create Constructor

Overloads

TUserClaim.Create(string)

Creates a claim with the given name and no value.

Remarks

Raises EEmptyClaimName if AName is empty.

Syntax

Unit: Sparkle.Security

constructor TUserClaim.Create(const AName: string);

Parameters

<-> Parameter Type Description
const AName string The claim name. Must not be empty.

See also

TUserClaim.Create(string, TJElement)

Creates a claim with the given name and JSON value.

Remarks

Raises EEmptyClaimName if AName is empty.

Syntax

Unit: Sparkle.Security

constructor TUserClaim.Create(const AName: string; AValue: TJElement);

Parameters

<-> Parameter Type Description
const AName string The claim name. Must not be empty.
AValue TJElement The JSON element to use as the claim value; the claim takes ownership of it.

See also