Share via


OpenIdConnectProtocolValidator.GenerateNonce Method

Definition

Generates a value suitable to use as a nonce.

public virtual string GenerateNonce ();
abstract member GenerateNonce : unit -> string
override this.GenerateNonce : unit -> string
Public Overridable Function GenerateNonce () As String

Returns

a nonce

Remarks

if RequireTimeStampInNonce is true then the 'nonce' will contain the Epoch time as the prefix, seperated by a '.'.

for example: 635410359229176103.MjQxMzU0ODUtMTdiNi00NzAwLWE4MjYtNTE4NGExYmMxNTNlZmRkOGU4NjctZjQ5OS00MWIyLTljNTEtMjg3NmM0NzI4ZTc5

Applies to