Windward Engine API Reference
AuthenticateHeadless Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.authentication Namespace > OAuthenticator Interface : AuthenticateHeadless Method




resource
clientId
credentials

Glossary Item Box

Authenticates by passing the user's credentials directly, skips the dialog prompt ie headless. Suitable for back end applications where authentication needs to be automatic. Note using this in a frontend application with user interaction reduces the security advantages of OAuth.

Syntax

Visual Basic (Declaration) 
Function AuthenticateHeadless( _
   ByVal resource As String, _
   ByVal clientId As String, _
   ByVal credentials As Kailua.net.windward.utils.WrCredentials _
) As AuthenticationToken
Visual Basic (Usage)Copy Code
Dim instance As OAuthenticator
Dim resource As String
Dim clientId As String
Dim credentials As Kailua.net.windward.utils.WrCredentials
Dim value As AuthenticationToken
 
value = instance.AuthenticateHeadless(resource, clientId, credentials)
C# 
AuthenticationToken AuthenticateHeadless( 
   string resource,
   string clientId,
   Kailua.net.windward.utils.WrCredentials credentials
)
Managed Extensions for C++ 
AuthenticationToken* AuthenticateHeadless( 
   string* resource,
   string* clientId,
   Kailua.net.windward.utils.WrCredentials* credentials
) 
C++/CLI 
AuthenticationToken^ AuthenticateHeadless( 
   String^ resource,
   String^ clientId,
   Kailua.net.windward.utils.WrCredentials^ credentials
) 

Parameters

resource
clientId
credentials

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.