OAS3 Auth MVP

This commit is contained in:
Kyle Shockey
2017-10-11 16:58:24 -07:00
parent fa24b6aec8
commit 8b81bcac48
8 changed files with 186 additions and 23 deletions

View File

@@ -22,6 +22,16 @@ export default function authorize ( { auth, authActions, errActions, configs, au
case "implicit":
query.push("response_type=token")
break
case "clientCredentials":
// OAS3
authActions.authorizeApplication(auth)
return
case "authorizationCode":
// OAS3
query.push("response_type=code")
break
}
if (typeof clientId === "string") {