SecurityTokenProvider.RenewTokenCore(TimeSpan, SecurityToken) 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.
Renews a security token.
protected:
virtual System::IdentityModel::Tokens::SecurityToken ^ RenewTokenCore(TimeSpan timeout, System::IdentityModel::Tokens::SecurityToken ^ tokenToBeRenewed);
protected virtual System.IdentityModel.Tokens.SecurityToken RenewTokenCore(TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed);
abstract member RenewTokenCore : TimeSpan * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Tokens.SecurityToken
override this.RenewTokenCore : TimeSpan * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function RenewTokenCore (timeout As TimeSpan, tokenToBeRenewed As SecurityToken) As SecurityToken
- timeout
- TimeSpan
A TimeSpan that specifies the timeout value for the message that renews the security token.
- tokenToBeRenewed
- SecurityToken
The SecurityToken to renew.
The SecurityToken that represents the security token that is renewed.
An issued security token that is renewable allows a client to renew it when the security token is about to or has expired.
When the RenewTokenCore method is overridden and the security token passed into the token parameter cannot be renewed, throw the SecurityTokenException exception.
The RenewToken method calls the RenewTokenCore method.
Продукт | Версии |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 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 |
.NET Standard | 2.0 (package-provided) |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: