SamlSecurityTokenHandler.GetTokenReplayCacheEntryExpirationTime Metodo

Definizione

Restituisce l'ora fino a quando il token verrà mantenuto nella cache di riproduzione dei token.

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

Parametri

token
SamlSecurityToken

Token per il quale restituire la scadenza.

Restituisce

Oggetto DateTime che rappresenta la data di scadenza.

Eccezioni

token è null.

Commenti

Per impostazione predefinita, questo metodo restituisce notOnOrAfter della condizione SAML, se presente.

Se tale valore non esiste, restituisce il valore NotOnOrAfter del primo SubjectConfirmationData.

Questa funzione non restituirà mai un valore più lontano dall'ora corrente (Now) rispetto a Configuration.TokenReplayCacheExpirationPeriod.

Si applica a