Auth0\SDK\API\Helpers\TokenGenerator::__construct PHP Method

__construct() public method

Configuration: - client_id (String) Required. The id of the application, you can get this in the auth0 console - client_secret (String) Required. The application secret, same comment as above
public __construct ( $credentials )
    public function __construct($credentials)
    {
        if (!isset($credentials['secret_base64_encoded'])) {
            $credentials['secret_base64_encoded'] = true;
        }
        $this->client_id = $credentials['client_id'];
        $this->client_secret = $credentials['client_secret'];
        $this->secret_base64_encoded = $credentials['secret_base64_encoded'];
    }