-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [CLI-148] initial commit: user show, create, list * [CLI-148] refactor: users command * [CLI-148] refactor users command: add error return value * Update internal/cli/users.go Co-authored-by: Rita Zerrizuela <[email protected]> * [CLI-148] refactor: add suggestions from review * [CLI-148] refactor: run gofmt on users files * [CLI-148] refactor: cleanup whitespaces * [CLI-148] refactored getconnrequusername function * [CLI-148] refactor: run gofmt on project user files * [CLI-148] refactor: added code review suggestions * [CLI-148] refactor: add users open command * [CLI-148] refactor: gofmt to cleanup * Apply suggestions from code review * [CLI-148] refactor: password input * [CLI-148] refactor: cleanup spaces * [CLI-148] refactor: sort imports * [CLI-148] refactor: sync with master * [CLI-148] refactor: updated set of scopes * [CLI-148] refactor: updated order of scopes * [CLI-148] refactor: updated scopes in auth file * [CLi-148] refactor: clean up comments * [CLi-148] refactor: updated scopes to match main branch * [CLi-148] refactor: cleanup * workflow test * workflow add back integration * workflow comment out integration * [CLI-148] updated scopes in config generator * Update internal/cli/users.go * Fix 400 error Co-authored-by: Rita Zerrizuela <[email protected]>
- Loading branch information
1 parent
8b7d93f
commit 83f9ea5
Showing
11 changed files
with
690 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ tags | |
# misc | ||
.vscode | ||
.DS_Store | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//go:generate mockgen -source=connection.go -destination=connection.go -package=auth0 | ||
|
||
package auth0 | ||
|
||
import "gopkg.in/auth0.v5/management" | ||
|
||
type ConnectionAPI interface { | ||
|
||
// Create a new connection. | ||
Create(c *management.Connection, opts ...management.RequestOption) (err error) | ||
|
||
// Read retrieves a connection by its id. | ||
Read(id string, opts ...management.RequestOption) (c *management.Connection, err error) | ||
|
||
// ReadByName retrieves a connection by its name. | ||
ReadByName(id string, opts ...management.RequestOption) (c *management.Connection, err error) | ||
|
||
// Update a connection. | ||
Update(id string, c *management.Connection, opts ...management.RequestOption) (err error) | ||
|
||
// Delete a connection. | ||
Delete(id string, opts ...management.RequestOption) (err error) | ||
|
||
// List all connections. | ||
List(opts ...management.RequestOption) (ul *management.ConnectionList, err error) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.