@sgnl-ai/set-transmitter
Version:
HTTP transmission library for Security Event Tokens (SET) with CAEP/SSF support
14 lines (12 loc) • 919 B
TypeScript
declare const EventTypes: {
readonly SESSION_REVOKED: "https://schemas.openid.net/secevent/caep/event-type/session-revoked";
readonly TOKEN_CLAIMS_CHANGE: "https://schemas.openid.net/secevent/caep/event-type/token-claims-change";
readonly CREDENTIAL_CHANGE: "https://schemas.openid.net/secevent/caep/event-type/credential-change";
readonly ASSURANCE_LEVEL_CHANGE: "https://schemas.openid.net/secevent/caep/event-type/assurance-level-change";
readonly DEVICE_COMPLIANCE_CHANGE: "https://schemas.openid.net/secevent/caep/event-type/device-compliance-change";
};
type EventType = (typeof EventTypes)[keyof typeof EventTypes];
declare const CONTENT_TYPE_SET = "application/secevent+jwt";
declare const CONTENT_TYPE_JSON = "application/json";
declare const DEFAULT_USER_AGENT = "SGNL-Action-Framework/1.0";
export { CONTENT_TYPE_JSON, CONTENT_TYPE_SET, DEFAULT_USER_AGENT, type EventType, EventTypes };