SecurityTokenProvider.RenewToken(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.
public:
System::IdentityModel::Tokens::SecurityToken ^ RenewToken(TimeSpan timeout, System::IdentityModel::Tokens::SecurityToken ^ tokenToBeRenewed);
public System.IdentityModel.Tokens.SecurityToken RenewToken(TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed);
member this.RenewToken : TimeSpan * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Tokens.SecurityToken
Public Function RenewToken (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.
The RenewToken method calls the RenewTokenCore method.
Produkt | Verzie |
---|---|
.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) |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: