2.1.3 • Published 4 years ago
auth-sdk-ts v2.1.3
Auth as a Service SDK
Typescript SDK for Authentication as a Service.
Installation
To get started run:
npm install auth-sdk-tsUsage/Examples
import { AuthClient } from 'auth-sdk-ts';
const client = new AuthClient({
baseUrl: "http://localhost:8080/v1",
});
const { role, policy, permission } = client;
const roles = await role.getAll();
const permissions = await permission.getAll();
const policies = await policy.getAll();
const newRole = await role.create({ name: "test" });
const newPermission = await permission.create({ resource: "test", action: "read" });
const newPolicy = await policy.create({ name: "test", kind: "ALLOW" });2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago