Resources

Resource types

There are two types of resources that are supported by Sandalphon: problems and lessons. The resources can be used by Sandalphon clients, for example, Uriel and Jerahmeel.

Adding Sandalphon clients

Before an application can use Sandalphon resources, it must be registered as a Sandalphon client.

  1. Open Sandalphon and click Clients menu on the left.

  2. Click Create New.

  3. Fill in these values:

    Name

    The client name. For example: Uriel #1.

  4. Click Create New.

A Sandalphon client has been successfully created with the corresponding client JID and client secret. The client can then connect to Sandalphon using the JID and secret.

Sharing resources to Sandalphon clients

If a Sandalphon client wants to use a resource from Sandalphon, perform these steps.

  1. Enter the corresponding resource (problem/lesson).
  2. Click the Clients tab.
  3. Choose the client, and then click Create New.
  4. View the client. You will see the resource JID and resource secret, for that particular client.

The client can then fetch the resource from Sandalphon, using the provided resource JID and resource secret.