UNPKG

signicat-client-ts

Version:

Community TypeScript client for Signicat Authentication REST API with automatic token management

31 lines (30 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SessionDataDto = void 0; var SessionDataDto; (function (SessionDataDto) { /** * The current status of the session. */ let status; (function (status) { status["CREATED"] = "CREATED"; status["SUCCESS"] = "SUCCESS"; status["ERROR"] = "ERROR"; status["ABORT"] = "ABORT"; status["CANCELLED"] = "CANCELLED"; status["WAITING_FOR_USER"] = "WAITING_FOR_USER"; status["EXPIRED"] = "EXPIRED"; status["INVALID"] = "INVALID"; })(status = SessionDataDto.status || (SessionDataDto.status = {})); /** * The selected flow used for this specific authentication session. * To learn more about using the ```headless``` flow with Swedish BankID, please refer to <a href="/identity-methods/sbid/integration-guide/auth-rest-api/headless/">this example</a>. */ let flow; (function (flow) { flow["HEADLESS"] = "headless"; flow["REDIRECT"] = "redirect"; flow["EMBEDDED"] = "embedded"; })(flow = SessionDataDto.flow || (SessionDataDto.flow = {})); })(SessionDataDto || (exports.SessionDataDto = SessionDataDto = {}));