@ampsec/platform-client
v79.5.0
Published
Collection of data models, utilities, and clients used by and with our Platform API.
Downloads
1,313
Readme
Amplifier Security - Platform Client
Collection of data models, utilities, and clients used by and with our Platform API.
Entry Points
API Clients
- Agents
- Service Accounts
- End Users
Services
- Settings
Data
- Modules
- Enumerations
Getting Started
import {UpsertUserDto} from '@ampsec/platform-client'
async function testAgentApi() {
const agentApi = AmpApi.instance({
baseUrl: process.env.PLATFORM_API_URL,
token: process.env.PLATFORM_TOKEN,
})
const me = await agentApi.identity.me();
console.log(me);
}
async function testAgentApi() {
const sdk = AmpSdkServices.instance({
baseUrl: process.env.PLATFORM_API_URL,
token: process.env.PLATFORM_TOKEN,
})
const me = await agentApi.identity.me();
console.log(me);
}
Development
See DEVELOPMENT.md