-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: release v2 and drop support for v1
* BREAKING CHANGE: redesign caching and replace store with cache pkg * BREAKING CHANGE: drop tfa pkg -- deprecated * BREAKING CHANGE: drop error pkg * BREAKING CHANGE: drop beraer pkg -- deprecated * chore: move internal pkg to auth/internal * BREAKING CHANGE: change auth.info interface and add setters/getters * chore: remove internal user * feat: add auth.Extentions type * BREAKING CHANGE: remove StrategyKey type * BREAKING CHANGE: change append/revoke function signature * BREAKING CHANGE: rename basic strategy Comparator.Verify to Comparator.Compare * chore: strategies errors honor "strategies/" prefix * BREAKING CHANGE: rename two factor strategy struct * refactor: digest strategy and replace public fields with options * docs: update docs * BREAKING CHANGE: drop auth.authenticator and replace it with union strategy * docs: update _examples
- Loading branch information
Showing
86 changed files
with
2,299 additions
and
3,583 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 |
---|---|---|
|
@@ -37,12 +37,13 @@ Here are a few bullet point reasons you might like to try it out: | |
## Strategies | ||
* [kubernetes (Token Review)](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/kubernetes?tab=doc) | ||
* [2FA](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/twofactor?tab=doc) | ||
* [Certificate-Based](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/x509?tab=doc) | ||
* [Bearer-Token](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/bearer?tab=doc) | ||
* [Static-Token](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/bearer?tab=doc) | ||
* [LDAP](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/ldap?tab=doc) | ||
* [Basic](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/basic?tab=doc) | ||
* [Digest](https://pkg.go.dev/github.com/shaj13/[email protected]/auth/strategies/digest?tab=doc) | ||
* [Certificate-Based](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/x509?tab=doc) | ||
* [Bearer-Token](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/token?tab=doc) | ||
* [Static-Token](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/token?tab=doc) | ||
* [LDAP](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/ldap?tab=doc) | ||
* [Basic](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/basic?tab=doc) | ||
* [Digest](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/digest?tab=doc) | ||
* [Union](https://pkg.go.dev/github.com/shaj13/go-guardian/auth/strategies/union?tab=doc) | ||
|
||
# Examples | ||
Examples are available on [GoDoc](https://pkg.go.dev/github.com/shaj13/go-guardian) or [Examples Folder](./_examples). | ||
|
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
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.