1.3.1 • Published 2 years ago

@passbase/node v1.3.1

Weekly downloads
1,874
License
MIT
Repository
github
Last release
2 years ago

banner

Passbase Node SDK ci

Welcome to the Passbase Verifications API docs. This documentation will help you understand our models and the Verification API with its endpoints. Based on this you can build your own system (i.e. verification) and hook it up to Passbase.

This package is a client meant to be used on the server-side to communicate with Passbase servers. You can find more information here: https://docs.passbase.com/server/api

Example how to use the SDK

const {
  PassbaseClient,
  PassbaseConfiguration,
  ResponseFormats,
} = require("@passbase/node");

async function main() {
  const apiKey = "[redacted]";

  const config = new PassbaseConfiguration({
    apiKey,
    format: ResponseFormats.Json,
  });
  const client = new PassbaseClient(config);

  const settings = await client.getSettings();

  console.log(JSON.stringify(settings, null, 4));
}

main().catch(err => {
  console.error(err);
  process.exit(1);
});

Documentation for API Endpoints

All URIs are relative to https://api.passbase.com/verification/v2

ClassMethodHTTP requestDescription
VerificationApi.IdentityApigetIdentityByIdGET /identities/{id}Get identity
VerificationApi.IdentityApigetIdentityResourceByIdGET /identity/{id}/resources/{resource_id}Get resource
VerificationApi.IdentityApigetIdentityResourceFileByIdGET /identity/{id}/resources/{resource_id}/resource_files/{resource_file_id}Get resource file
VerificationApi.IdentityApilistIdentitiesGET /identitiesList identities
VerificationApi.IdentityApilistIdentityResourcesGET /identity/{id}/resourcesList resources
VerificationApi.ProjectApigetSettingsGET /settingsGet project settings

Documentation for Models

Documentation for Authorization

IdentityAccessToken

  • Type: Bearer authentication (JWT)

PublishableApiKey

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

SecretApiKey

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header
1.3.1

2 years ago

1.3.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

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

0.0.2

4 years ago

0.0.1

4 years ago