AuthenticationService.Connect Method (Uri, Uri, ClientCredentials, ClientCredentials)
Connects to the specified URI.
Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)
Usage
'Usage
Dim instance As AuthenticationService
Dim organizationServiceUri As Uri
Dim homeRealmUri As Uri
Dim clientCredentials As ClientCredentials
Dim deviceCredentials As ClientCredentials
instance.Connect(organizationServiceUri, homeRealmUri, clientCredentials, deviceCredentials)
Syntax
'Declaration
Public Sub Connect ( _
organizationServiceUri As Uri, _
homeRealmUri As Uri, _
clientCredentials As ClientCredentials, _
deviceCredentials As ClientCredentials _
)
public void Connect (
Uri organizationServiceUri,
Uri homeRealmUri,
ClientCredentials clientCredentials,
ClientCredentials deviceCredentials
)
public:
void Connect (
Uri^ organizationServiceUri,
Uri^ homeRealmUri,
ClientCredentials^ clientCredentials,
ClientCredentials^ deviceCredentials
)
public void Connect (
Uri organizationServiceUri,
Uri homeRealmUri,
ClientCredentials clientCredentials,
ClientCredentials deviceCredentials
)
public function Connect (
organizationServiceUri : Uri,
homeRealmUri : Uri,
clientCredentials : ClientCredentials,
deviceCredentials : ClientCredentials
)
Parameters
- organizationServiceUri
Specifies the organization service URI.
- homeRealmUri
Specifies the home realm URI. Not null for federation authentication.
- clientCredentials
Specifies the client credentials.
- deviceCredentials
Specifies the device credentials.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
AuthenticationService Class
AuthenticationService Members
Microsoft.Uii.AifServices Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.