Refactor Auths component flow; create component that supports HTTP auths

This commit is contained in:
Kyle Shockey
2017-10-18 21:23:28 -07:00
parent d677e534c3
commit c9674a1fc5
10 changed files with 261 additions and 49 deletions

View File

@@ -22,7 +22,7 @@ export default {
securities.entrySeq().forEach( ([ key, security ]) => {
let type = security.getIn(["schema", "type"])
if ( type === "apiKey" ) {
if ( type === "apiKey" || type === "http" ) {
map = map.set(key, security)
} else if ( type === "basic" ) {
let username = security.getIn(["value", "username"])