Skip to main content
Methods that related to authentication. A complete list can be found here: Auth Namespace: SKM.V3.Methods
Version: 4.0.54. Both packages; all six documented target frameworks.
These methods return a result object. Check Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.

Constructors

Auth()

Creates an empty Auth object. This constructor does not send an API request.

Methods

KeyLock(string, KeyLockModel)

This method will, given a license key, generate a new access token that is locked to that particular key and return the Id of that key. The scope of the access token is preserved (i.e. all methods that were enabled in the access token used to access this method will be copied to the new access token) except for the key lock, which is going to be changed to the id of the license key. Note, for this method to work, the access token used to access this method has to have key lock set to -1. All of these details are described in Remarks.
Web API Reference Parameters Returns: KeyLockResult. The API response. Check Result and Message before using the returned data. Note: for more details, please see KeyLock .NET SDK Reference · Reviewed Source Revision