Search Results for

    Show / Hide Table of Contents

    Class Auth

    Methods that related to authentication. A complete list can be found here: https://app.cryptolens.io/docs/api/v3/Auth

    Inheritance
    object
    Auth
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SKM.V3.Methods
    Assembly: Cryptolens.Licensing.CrossPlatform.dll
    Syntax
    public class Auth

    Methods

    | Edit this page View Source

    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.

    Declaration
    public static KeyLockResult KeyLock(string token, KeyLockModel parameters)
    Parameters
    Type Name Description
    string token

    The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth

    KeyLockModel parameters

    The parameters that the method needs

    Returns
    Type Description
    KeyLockResult

    Returns KeyLockResult or null.

    Remarks

    Note: for more details, please see https://app.cryptolens.io/docs/api/v3/KeyLock

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © Cryptolens AB