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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for