UNPKG

signicat-client-ts

Version:

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

27 lines (26 loc) 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SessionRequestDto = void 0; var SessionRequestDto; (function (SessionRequestDto) { /** * Specifies the LoA (Level of Assurance). */ let requestedLoa; (function (requestedLoa) { requestedLoa["LOW"] = "low"; requestedLoa["SUBSTANTIAL"] = "substantial"; requestedLoa["HIGH"] = "high"; })(requestedLoa = SessionRequestDto.requestedLoa || (SessionRequestDto.requestedLoa = {})); /** * 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>. * If flow is set to Redirect the field CallbackUrls is required. */ let flow; (function (flow) { flow["HEADLESS"] = "headless"; flow["REDIRECT"] = "redirect"; flow["EMBEDDED"] = "embedded"; })(flow = SessionRequestDto.flow || (SessionRequestDto.flow = {})); })(SessionRequestDto || (exports.SessionRequestDto = SessionRequestDto = {}));