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

SamlTokenProvider.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

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

返回

安全令牌。

适用于