Developer infrastructure
Built for developers integrating trust into modern digital systems.
API-native. Protocol-grade. Designed for institutional reliability and developer velocity in equal measure.
Quickstart
Go live with a consent-based login flow.
Node
/v2/identification/wildcardimport Pasby from '@finsel-dgi/pasby';
const pasby = new Pasby({
apikeyAuth: process.env.PASBY_API_KEY,
appSecretKey: process.env.PASBY_APP_SECRET_KEY,
});
// 1) create a secure authentication flow
const flow = await pasby.identification.wildcard({
action: "login",
claims: ["naming.given", "naming.family", "contact.email"],
seeds: 4,
payload: "Sign in to your workspace",
callbackUrl: "https://yourapp.com/api/pasby/callback",
});
// 2) hand off the user to pasby
return {
request: flow.request,
authorizeUrl: flow.url,
};
// 3) on callback/webhook, fetch verified claims
const verified = await pasby.flows.ping({ request: flow.request });
console.log(verified.claims.naming.given);curl
/v2/identification/wildcardcurl -X POST https://s.pasby.africa/api/v2/identification/wildcard \
-H "x-access-secret: $PASBY_SECRET_KEY" \
-H "x-api-key: $PASBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "login",
"claims": ["naming.given", "naming.family", "contact.email"],
"seeds": 4,
"payload": "Sign in to your workspace"
}'API surface
Composable trust primitives.
POST
/v1/identity/issue
Issue a portable identity
POST
/v1/trust/verify
Verify a trust signal
POST
/v1/authorization/grant
Grant scoped authorization
POST
/v1/signature/sign
Sign institutional intent
GET
/v1/trust/graph/:subject
Read a subject's trust graph
POST
/v1/access/evaluate
Evaluate an access policy
Standards
Interoperable by design.
Aligned with global identity and trust standards, designed for African digital systems.
OIDC
OAuth 2.1
DIDs
VCs
SCIM
FIDO2