你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SimpleWebTokenProvider.OnEndGetToken(IAsyncResult, DateTime) 方法

定义

执行结束获取令牌操作。

protected override System.IdentityModel.Tokens.SecurityToken OnEndGetToken (IAsyncResult result, out DateTime cacheUntil);
override this.OnEndGetToken : IAsyncResult * DateTime -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function OnEndGetToken (result As IAsyncResult, ByRef cacheUntil As DateTime) As SecurityToken

参数

result
IAsyncResult

一个 IAsyncResult 对象,该对象引用异步操作以获取令牌。

cacheUntil
DateTime

此方法返回时,包含缓存中令牌信息的过期日期和时间。

返回

安全令牌。

适用于