Condividi tramite


OpenIdConnectProtocolValidator.RequireTimeStampInNonce Property

Definition

Gets or set logic to control if a nonce is prefixed with a timestamp.

public bool RequireTimeStampInNonce { get; set; }
member this.RequireTimeStampInNonce : bool with get, set
Public Property RequireTimeStampInNonce As Boolean

Property Value

Remarks

if RequireTimeStampInNonce is true then:

GenerateNonce() will return a 'nonce' with the Epoch time as the prefix, delimited with a '.'.

ValidateNonce(OpenIdConnectProtocolValidationContext) will require that the 'nonce' has a valid time as the prefix.

Applies to