(
options: SecuritySchemeObject = {
type: 'http'
},
name = 'basic'
)
| 249 | } |
| 250 | |
| 251 | public addBasicAuth( |
| 252 | options: SecuritySchemeObject = { |
| 253 | type: 'http' |
| 254 | }, |
| 255 | name = 'basic' |
| 256 | ): this { |
| 257 | this.addSecurity(name, { |
| 258 | type: 'http', |
| 259 | scheme: 'basic', |
| 260 | ...options |
| 261 | }); |
| 262 | return this; |
| 263 | } |
| 264 | |
| 265 | public addCookieAuth( |
| 266 | cookieName = 'connect.sid', |
no test coverage detected