Share via


FederationServerSoapProxy.LsRequestSecurityToken Method (String, String[], String, Byte[], String, RSTRResult)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

This method supports the AD FS infrastructure and is not meant to be used directly from your code. This web method is called by the FS proxy to request a security token based on credentials collected from the user.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

[SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/LsRequestSecurityToken", 
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void LsRequestSecurityToken(
    string credentialTypeUri,
    string[] credentials,
    string accountStoreUri,
    byte[] cookie,
    string targetRealmName,
    out RSTRResult rstr
)
public:
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/LsRequestSecurityToken", 
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
virtual void LsRequestSecurityToken(
    String^ credentialTypeUri,
    array<String^>^ credentials,
    String^ accountStoreUri,
    array<unsigned char>^ cookie,
    String^ targetRealmName,
    [OutAttribute] RSTRResult^% rstr
) sealed
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/LsRequestSecurityToken",
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
abstract LsRequestSecurityToken : 
        credentialTypeUri:string *
        credentials:string[] *
        accountStoreUri:string *
        cookie:byte[] *
        targetRealmName:string *
        rstr:RSTRResult byref -> unit
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/LsRequestSecurityToken",
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
override LsRequestSecurityToken : 
        credentialTypeUri:string *
        credentials:string[] *
        accountStoreUri:string *
        cookie:byte[] *
        targetRealmName:string *
        rstr:RSTRResult byref -> unit
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/LsRequestSecurityToken",
    RequestNamespace := "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace := "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)>
Public Sub LsRequestSecurityToken (
    credentialTypeUri As String,
    credentials As String(),
    accountStoreUri As String,
    cookie As Byte(),
    targetRealmName As String,
    <OutAttribute> ByRef rstr As RSTRResult
)

Parameters

  • credentialTypeUri
    Type: System.String

    The type of credentials specified in credentials.

  • credentials
    Type: System.String[]

    The user credentials in the format appropriate for instantiating the CredentialFields NameValueCollection object in the ClientCredentialInfo object.

  • accountStoreUri
    Type: System.String

    The exact account store that the Federation Server should use to attempt to authenticate the client. If this parameter is null then the Federation Server will attempt to authenticate the client against account stores in the order specified by the FS trust policy.

  • cookie
    Type: System.Byte[]

    The cookie obtained from the client.

  • targetRealmName
    Type: System.String

    The name of the target realm for which the security token is being requested. This may be either a federation partner or a resource web server.

Implements

IFederationServer.LsRequestSecurityToken(String, String[], String, Byte[], String, RSTRResult)

See Also

FederationServerSoapProxy Class
System.Web.Security.SingleSignOn Namespace

Return to top