Sessions Read/List/Cancel API and SDK (#369)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-09-20 20:22:57 -04:00
1 parent f7e48ec836
commit e937b0ea27
22 files changed
+2852 -130

No files matched your search

+3 -4
View File
@@ -93,7 +93,8 @@ func TestHandleImplementedPaths(t *testing.T) {
for verb, paths := range map[string][]string{
"GET": {
// new paths
"v1/sessions/",
"v1/sessions/someid",
"v1/scopes",
"v1/scopes/someid",
"v1/auth-tokens",
@@ -119,7 +120,6 @@ func TestHandleImplementedPaths(t *testing.T) {
},
"POST": {
// Creation end points
// new paths
"v1/scopes",
"v1/groups",
"v1/roles",
@@ -132,6 +132,7 @@ func TestHandleImplementedPaths(t *testing.T) {
"v1/targets",
// custom methods
"v1/sessions/someid:cancel",
"v1/auth-methods/someid:authenticate",
"v1/accounts/someid:set-password",
"v1/accounts/someid:change-password",
@@ -146,7 +147,6 @@ func TestHandleImplementedPaths(t *testing.T) {
"v1/groups/someid:remove-members",
},
"DELETE": {
// new paths
"v1/scopes/someid",
"v1/users/someid",
"v1/roles/someid",
@@ -160,7 +160,6 @@ func TestHandleImplementedPaths(t *testing.T) {
"v1/targets/someid",
},
"PATCH": {
// new paths
"v1/scopes/someid",
"v1/users/someid",
"v1/roles/someid",