Share via


Saml2SecurityTokenHandler.GetTokenReplayCacheEntryExpirationTime メソッド

定義

トークンがトークン再生キャッシュに保持される必要があるまでの時間を返します。

protected:
 virtual DateTime GetTokenReplayCacheEntryExpirationTime(System::IdentityModel::Tokens::Saml2SecurityToken ^ token);
protected virtual DateTime GetTokenReplayCacheEntryExpirationTime (System.IdentityModel.Tokens.Saml2SecurityToken token);
abstract member GetTokenReplayCacheEntryExpirationTime : System.IdentityModel.Tokens.Saml2SecurityToken -> DateTime
override this.GetTokenReplayCacheEntryExpirationTime : System.IdentityModel.Tokens.Saml2SecurityToken -> DateTime
Protected Overridable Function GetTokenReplayCacheEntryExpirationTime (token As Saml2SecurityToken) As DateTime

パラメーター

token
Saml2SecurityToken

有効期限を返す対象のトークン。

戻り値

有効期限を表す DateTime

例外

tokennullです。

注釈

既定では、このメソッドは SAML 条件の NotOnOrAfter (存在する場合) を返します。

この値が存在しない場合は、最初の SubjectConfirmationData の NotOnOrAfter を返します。

この関数は、Configuration.TokenReplayCacheExpirationPeriod よりも現在の時刻 (Now) から値を返すことはありません。

適用対象