DFACE JAVA SDK  5.0.0
com.dface.api.Accredit Class Reference

FaceAccredit API. More...

Collaboration diagram for com.dface.api.Accredit:

Public Member Functions

int login ()
 
int updateOnline (String authCode)
 
int logout ()
 
AuthInfo getRequestInfo (String authCode)
 
int updateOffline (String file)
 
int setRootPath (String path)
 
int setLocalServer (String hostName, int port, int timeoutSeconds)
 
int setProxy (String hostName, int port, String userId, String password)
 
int remove (String authCode)
 
int revokeOnline (String authCode)
 
AuthInfo revokeOffline (String authCode)
 
AuthInfo getInfo (int infoType)
 

Detailed Description

FaceAccredit API.

Member Function Documentation

AuthInfo com.dface.api.Accredit.getInfo ( int  infoType)

Get license information

Parameters
infoTypeInformation type
Returns
AuthInfo
See also
com.dface.dto.AuthInfo
AuthInfo com.dface.api.Accredit.getRequestInfo ( String  authCode)

Get device fingerPrint information

Parameters
authCodeauthorize code
Returns
AuthInfo
See also
com.dface.dto.AuthInfo
int com.dface.api.Accredit.login ( )

License tool login

Returns
0:Activated other:Error Code
int com.dface.api.Accredit.logout ( )

License tool logout

Returns
0:success, other:Error Code
int com.dface.api.Accredit.remove ( String  authCode)

Remove license

Parameters
authCodeAuthorize code
Returns
0:success, other:Error Code
AuthInfo com.dface.api.Accredit.revokeOffline ( String  authCode)

Revoke offline

Parameters
authCodeAuthorize code
Returns
AuthInfo
See also
com.dface.dto.AuthInfo
int com.dface.api.Accredit.revokeOnline ( String  authCode)

Revoke online

Parameters
authCodeAuthorize code
Returns
0:success, other:Error Code
int com.dface.api.Accredit.setLocalServer ( String  hostName,
int  port,
int  timeoutSeconds 
)

Set group authorize server ip:port

Parameters
hostNameip
portport
timeoutSecondstimeoutSeconds
Returns
0:success, other:Error Code
int com.dface.api.Accredit.setProxy ( String  hostName,
int  port,
String  userId,
String  password 
)

Set proxy server ip:port

Parameters
hostNameip
portport
userIdproxy user id
passwordproxy password
Returns
0:success, other:Error Code
int com.dface.api.Accredit.setRootPath ( String  path)

Set activation environment root path

Parameters
pathRoot path
Returns
0:success, other:Error Code
int com.dface.api.Accredit.updateOffline ( String  file)

OffLine license authorize

Parameters
fileauthorize file path
Returns
0:success, other:Error Code
int com.dface.api.Accredit.updateOnline ( String  authCode)

Online license authorize

Parameters
authCodeauthorize code
Returns
0:success, other:Error Code

The documentation for this class was generated from the following file: