• Parameters

    • authToken: string

      The auth token to use for login.

    • Optional keyTypes: KeyType[]

      An array of key types for keys generation. If you don't specify a value for this parameter, all key types are created.

    Returns Promise<LoginResult>

    A Promise that resolves when the login operation is successful. The string is logged in the user ID ans device state.

    Description

    Log into the Fordefi client using the given auth token and generate keys if they were not generated yet.

    The auth token is acquired using a call to the Issue Authorization Token REST API.

    Throws

    FordefiSdkErrorResult