Share via


IFederationServer.BeginLsRequestSecurityToken Method (String, String[], String, Byte[], String, AsyncCallback, Object)

 

Begins an asynchronous request for a security token when given a user's credentials.

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

Syntax

IAsyncResult BeginLsRequestSecurityToken(
    string credentialTypeUri,
    string[] credentials,
    string accountStoreUri,
    byte[] cookie,
    string targetRealmName,
    AsyncCallback callback,
    object asyncState
)
IAsyncResult^ BeginLsRequestSecurityToken(
    String^ credentialTypeUri,
    array<String^>^ credentials,
    String^ accountStoreUri,
    array<unsigned char>^ cookie,
    String^ targetRealmName,
    AsyncCallback^ callback,
    Object^ asyncState
)
abstract BeginLsRequestSecurityToken : 
        credentialTypeUri:string *
        credentials:string[] *
        accountStoreUri:string *
        cookie:byte[] *
        targetRealmName:string *
        callback:AsyncCallback *
        asyncState:Object -> IAsyncResult
Function BeginLsRequestSecurityToken (
    credentialTypeUri As String,
    credentials As String(),
    accountStoreUri As String,
    cookie As Byte(),
    targetRealmName As String,
    callback As AsyncCallback,
    asyncState As Object
) As IAsyncResult

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 account store that the Federation Server should use to attempt to authenticate the client. If this parameter is null, 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.

  • asyncState
    Type: System.Object

    An object that can be used to access state information of the asynchronous operation.

Return Value

Type: System.IAsyncResult

The status of the asynchronous call.

See Also

IFederationServer Interface
System.Web.Security.SingleSignOn Namespace

Return to top