語言

OpenIdConnectProtocolValidator.NonceLifetime 屬性

定義

取得或設定 TimeSpan nonce 有效期限的定義。

public TimeSpan NonceLifetime { get; set; }
member this.NonceLifetime : TimeSpan with get, set
Public Property NonceLifetime As TimeSpan

屬性值

例外狀況

當「值」小於或等於「TimeSpan.Zero」時,會拋出。

備註

若 RequireTimeStampInNonce 為真,則 nonce 時間戳記由 DateTime.UtcNow + NonceLifetime 綁定。

適用於