Skip to content

Commit

Permalink
Merge pull request #96 from auth0/remove-commands
Browse files Browse the repository at this point in the history
Remove out of scope commands [CLI-1]
  • Loading branch information
Widcket authored Feb 19, 2021
2 parents 7961ab0 + eaf0c3b commit 2192bd2
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 2,297 deletions.
1 change: 0 additions & 1 deletion internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ var requiredScopes = []string{
"create:actions", "delete:actions", "read:actions", "update:actions",
"create:clients", "delete:clients", "read:clients", "update:clients",
"create:resource_servers", "delete:resource_servers", "read:resource_servers", "update:resource_servers",
"create:rules", "delete:rules", "read:rules", "update:rules",
"read:client_keys", "read:logs",
}

Expand Down
1 change: 0 additions & 1 deletion internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ func TestRequiredScopes(t *testing.T) {
"actions",
"clients",
"resource_servers",
"rules",
}
crudPrefixes := []string{"create:", "delete:", "read:", "update:"}

Expand Down
10 changes: 0 additions & 10 deletions internal/auth0/auth0.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ type API struct {
ActionExecution ActionExecutionAPI
ActionBinding ActionBindingAPI
Client ClientAPI
Connection ConnectionAPI
Log LogAPI
Rule RuleAPI
ResourceServer ResourceServerAPI
Role RoleAPI
CustomDomain CustomDomainAPI
User UserAPI
}

func NewAPI(m *management.Management) *API {
Expand All @@ -29,13 +24,8 @@ func NewAPI(m *management.Management) *API {
ActionExecution: m.ActionExecution,
ActionBinding: m.ActionBinding,
Client: m.Client,
Connection: m.Connection,
Log: m.Log,
ResourceServer: m.ResourceServer,
Rule: m.Rule,
Role: m.Role,
CustomDomain: m.CustomDomain,
User: m.User,
}
}

Expand Down
26 changes: 0 additions & 26 deletions internal/auth0/connection.go

This file was deleted.

150 changes: 0 additions & 150 deletions internal/auth0/connection_mock.go

This file was deleted.

22 changes: 0 additions & 22 deletions internal/auth0/custom_domain.go

This file was deleted.

131 changes: 0 additions & 131 deletions internal/auth0/custom_domain_mock.go

This file was deleted.

22 changes: 0 additions & 22 deletions internal/auth0/role.go

This file was deleted.

Loading

0 comments on commit 2192bd2

Please sign in to comment.