OpenIdConnectProtocolValidator.GenerateNonce Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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