authtokengenerator_jslibrary

Methods

The following API methods are provided by the AuthToken generator library

Generate new AuthToken


generate: function(key, secret){}

Request Arguments:


key- "key" of the JWT Credential For ex: '398e54e888da42f8d089je28c298o42b'
secret- "secret" of the JWT Credential For ex: '07c6e2t1rb92987fnrd705jkk8582p9e'

Regenerate Expired AuthToken


refresh: function(oldAuthToken) { }

Generate JWT With Bash

Authtoken can be generated using the bash script also, for more details refer https://willhaley.com/blog/generate-jwt-with-bash/

How to generate authorization credentials

This section details the procedure to generate the AuthToken and secret key that is required to access any APIs and to configure the standalone telemetry JS library.

Process

Prerequisites

  • Access to the Ekstep Community portal

Procedure

Last updated