SamlSecurityTokenHandler.GetTokenReplayCacheEntryExpirationTime Method
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.
Returns the time until which the token should be held in the token replay cache.
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
- token
- SamlSecurityToken
The token for which to return the expiration time.
A DateTime that represents the expiration time.
token
is null
.
By default, this method returns the NotOnOrAfter of the SAML Condition if present.
If that value does not exist, it returns the NotOnOrAfter of the first SubjectConfirmationData.
This function will never return a value further from the current time (Now) than Configuration.TokenReplayCacheExpirationPeriod.
Produkt | Versiounen |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: