-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: provide metrics auto authenticator
- Loading branch information
1 parent
92557b5
commit f6be236
Showing
7 changed files
with
90 additions
and
75 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
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
package authenticator | ||
|
||
import "github.com/snapp-incubator/soteria/internal/error" | ||
import "github.com/snapp-incubator/soteria/internal/errors" | ||
|
||
var ( | ||
ErrInvalidSigningMethod = error.ErrInvalidSigningMethod | ||
ErrIssNotFound = error.ErrIssNotFound | ||
ErrSubNotFound = error.ErrSubNotFound | ||
ErrInvalidClaims = error.ErrInvalidClaims | ||
ErrInvalidIP = error.ErrInvalidIP | ||
ErrInvalidAccessType = error.ErrInvalidAccessType | ||
ErrDecodeHashID = error.ErrDecodeHashID | ||
ErrInvalidSecret = error.ErrInvalidSecret | ||
ErrIncorrectPassword = error.ErrIncorrectPassword | ||
ErrInvalidSigningMethod = errors.ErrInvalidSigningMethod | ||
ErrIssNotFound = errors.ErrIssNotFound | ||
ErrSubNotFound = errors.ErrSubNotFound | ||
ErrInvalidClaims = errors.ErrInvalidClaims | ||
ErrInvalidIP = errors.ErrInvalidIP | ||
ErrInvalidAccessType = errors.ErrInvalidAccessType | ||
ErrDecodeHashID = errors.ErrDecodeHashID | ||
ErrInvalidSecret = errors.ErrInvalidSecret | ||
ErrIncorrectPassword = errors.ErrIncorrectPassword | ||
) | ||
|
||
type TopicNotAllowedError = error.TopicNotAllowedError | ||
type TopicNotAllowedError = errors.TopicNotAllowedError | ||
|
||
type KeyNotFoundError = error.KeyNotFoundError | ||
type KeyNotFoundError = errors.KeyNotFoundError | ||
|
||
type InvalidTopicError = error.InvalidTopicError | ||
type InvalidTopicError = errors.InvalidTopicError |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package error | ||
package errors | ||
|
||
import ( | ||
"errors" | ||
|
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