@identity-base/client-core
v0.8.4
Published
Framework-agnostic client core for Identity.Base
Maintainers
Readme
@identity-base/client-core
Framework-agnostic TypeScript client core for Identity Base.
Install
npm install @identity-base/client-coreUsage
import { IdentityAuthManager } from '@identity-base/client-core'
const auth = new IdentityAuthManager({
apiBase: 'https://identity.example.com',
clientId: 'spa-client',
redirectUri: 'https://app.example.com/auth/callback',
scope: 'openid profile email identity.api',
tokenStorage: 'sessionStorage',
autoRefresh: true,
})