summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang-jwt/jwt/v5/signing_method.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-08-12 16:04:30 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-08-12 16:04:30 +0200
commit1edc0f7b3c9264c2d4b21455afb5fc2e14ff1ab7 (patch)
tree4f5525b6141f2744b95eedaec744873c36f799fd /vendor/github.com/golang-jwt/jwt/v5/signing_method.go
parent[feature] scheduled statuses (#4274) (diff)
downloadgotosocial-1edc0f7b3c9264c2d4b21455afb5fc2e14ff1ab7.tar.xz
[chore] bump to code.superseriousbusiness.org/oauth2/v4@ssb-v4.5.3-2 (#4367)
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4367 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/golang-jwt/jwt/v5/signing_method.go')
-rw-r--r--vendor/github.com/golang-jwt/jwt/v5/signing_method.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/golang-jwt/jwt/v5/signing_method.go b/vendor/github.com/golang-jwt/jwt/v5/signing_method.go
index 0d73631c1..096d0ed4c 100644
--- a/vendor/github.com/golang-jwt/jwt/v5/signing_method.go
+++ b/vendor/github.com/golang-jwt/jwt/v5/signing_method.go
@@ -12,9 +12,9 @@ var signingMethodLock = new(sync.RWMutex)
// signature in Sign. The signature is then usually base64 encoded as part of a
// JWT.
type SigningMethod interface {
- Verify(signingString string, sig []byte, key interface{}) error // Returns nil if signature is valid
- Sign(signingString string, key interface{}) ([]byte, error) // Returns signature or error
- Alg() string // returns the alg identifier for this method (example: 'HS256')
+ Verify(signingString string, sig []byte, key any) error // Returns nil if signature is valid
+ Sign(signingString string, key any) ([]byte, error) // Returns signature or error
+ Alg() string // returns the alg identifier for this method (example: 'HS256')
}
// RegisterSigningMethod registers the "alg" name and a factory function for signing method.