WSFederationAuthenticationModule.GetReferencedResult(String) 方法

定义

从指定的 URL 获取颁发结果(通常是颁发的令牌)。 解析登录响应消息中 wresultptr 参数中指定的 URL。

protected:
 virtual System::String ^ GetReferencedResult(System::String ^ resultPtr);
protected virtual string GetReferencedResult(string resultPtr);
abstract member GetReferencedResult : string -> string
override this.GetReferencedResult : string -> string
Protected Overridable Function GetReferencedResult (resultPtr As String) As String

参数

resultPtr
String

指定颁发结果地址的 URL。

返回

URL 引用的颁发结果。

例外

基类不支持此方法。 必须在派生类中重写它。

注解

WSFederationAuthenticationModule.GetXmlTokenFromMessage(SignInResponseMessage) 处理管道内部的方法调用,以解析从安全令牌服务(STS)收到的登录响应消息中 wresultptr 参数中指定的 URL。

默认情况下,此方法会引发一个 NotSupportedException。 重写派生类中的此方法以支持 wresultptr 参数。 URL 指向颁发结果,应为下列结果之一: <wst:RequestSecurityTokenResponse> 元素、 <wst:RequestSecurityTokenResponseCollection> 元素、SOAP 响应或 SOAP <S:Fault> 元素。

适用于