1.2.4 • Published 8 months ago

@open-age/client v1.2.4

Weekly downloads
-
License
WTFPL
Repository
github
Last release
8 months ago

directory-client

Client to interact with the user

config

add following section to the config/{env}.config file

"providers": {
    "directory": {
        "url": "http://api.openage.in/directory/v1/api", // prod url
        "role": {
            "key": "<presistant token>"
        }
    }
}

usage

Get a role by key

const client = require('@open-age/client')

const roleKey = 'xxx....xxx' // role key of the user

// impersonates the user
const role = await client.directory.roles.get(roleKey)
1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

11 months ago

1.2.0

3 years ago

1.1.1

3 years ago

1.2.1

2 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago