←Select platform

SetAuthenticationData Method

Summary

Enables an application to store authentication data for a particular user's logon name within the authentication repository.

Syntax

C#
VB
C++
public void SetAuthenticationData( 
   int coupon, 
   string logonName, 
   string dataFormat, 
   string userData, 
   string appSignature 
) 
Sub SetAuthenticationData( _ 
   ByVal coupon As Integer, _ 
   ByVal logonName As String, _ 
   ByVal dataFormat As String, _ 
   ByVal userData As String, _ 
   ByVal appSignature As String _ 
)  
void SetAuthenticationData(  
   int coupon, 
   String^ logonName, 
   String^ dataFormat, 
   String^ userData, 
   String^ appSignature 
)  

Parameters

coupon
The connection coupon obtain from the Connect method.

logonName
A user's logon name.

dataFormat
An application-defined string that is used when an application needs to maintain multiple forms of authentication data for a user (e.g., password, thumbprint image, etc.). If only one form of authentication data is needed, this string can be empty.

userData
Application-specific data used to authenticate the user.

appSignature
The application's digital signature.

Remarks

Concatenating the string representations of the following inputs in the order listed shall form the data from which a message digest is computed by the application:

  • connectionCoupon
  • logonName
  • dataFormat
  • userData

An application shall compute its digital signature by encrypting the message digest with its private key.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ccow Assembly