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

SimpleWebTokenProvider.OnEndGetWebToken(IAsyncResult, DateTime) 方法

定义

执行结束获取 Web 令牌操作。

protected override string OnEndGetWebToken (IAsyncResult result, out DateTime cacheUntil);
override this.OnEndGetWebToken : IAsyncResult * DateTime -> string
Protected Overrides Function OnEndGetWebToken (result As IAsyncResult, ByRef cacheUntil As DateTime) As String

参数

result
IAsyncResult

引用 IAsyncResult 异步操作以获取 Web 令牌的 对象。

cacheUntil
DateTime

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

返回

Web 令牌。

适用于