(s, o, i, a)
| 32254 | } |
| 32255 | } |
| 32256 | function preauthorizeBasic(s, o, i, a) { |
| 32257 | const { |
| 32258 | authActions: { authorize: u }, |
| 32259 | specSelectors: { specJson: _, isOAS3: w }, |
| 32260 | } = s, |
| 32261 | x = w() ? ['components', 'securitySchemes'] : ['securityDefinitions'], |
| 32262 | C = _().getIn([...x, o]) |
| 32263 | return C ? u({ [o]: { value: { username: i, password: a }, schema: C.toJS() } }) : null |
| 32264 | } |
| 32265 | function preauthorizeApiKey(s, o, i) { |
| 32266 | const { |
| 32267 | authActions: { authorize: a }, |