(s, o)
| 32171 | } |
| 32172 | }, |
| 32173 | wrap_actions_authorize = (s, o) => (i) => { |
| 32174 | s(i) |
| 32175 | if (o.getConfigs().persistAuthorization) |
| 32176 | try { |
| 32177 | const [{ schema: s, value: o }] = Object.values(i), |
| 32178 | a = (0, ze.fromJS)(s), |
| 32179 | u = 'apiKey' === a.get('type'), |
| 32180 | _ = 'cookie' === a.get('in') |
| 32181 | u && _ && (document.cookie = `${a.get('name')}=${o}; SameSite=None; Secure`) |
| 32182 | } catch (s) { |
| 32183 | console.error('Error persisting cookie based apiKey in document.cookie.', s) |
| 32184 | } |
| 32185 | }, |
| 32186 | wrap_actions_logout = (s, o) => (i) => { |
| 32187 | const a = o.getConfigs(), |
| 32188 | u = o.authSelectors.authorized() |
nothing calls this directly
no test coverage detected