SecurityTokenService.BeginGetScope 方法

定义

当在派生类中重写时,开始对 GetScope(ClaimsPrincipal, RequestSecurityToken) 方法的异步调用。

protected:
 virtual IAsyncResult ^ BeginGetScope(System::Security::Claims::ClaimsPrincipal ^ principal, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult BeginGetScope (System.Security.Claims.ClaimsPrincipal principal, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
abstract member BeginGetScope : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginGetScope : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginGetScope (principal As ClaimsPrincipal, request As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

参数

principal
ClaimsPrincipal

一个 ClaimsPrincipal,表示令牌请求者的标识。

request
RequestSecurityToken

一个 RequestSecurityToken,表示安全令牌请求。 这包括请求消息和其他客户端相关信息,如授权上下文。

callback
AsyncCallback

接收异步操作完成通知的 AsyncCallback 委托。

state
Object

一个包含与异步操作关联的状态信息的对象。

返回

引用异步取消操作的 IAsyncResult

注解

此方法的默认实现将 NotImplementedException引发 。

适用于