More protocols

This commit is contained in:
2026-02-17 23:30:49 +01:00
parent 62a90a468d
commit 74a517a22a
15 changed files with 2268 additions and 21 deletions

View File

@@ -10,6 +10,7 @@ import (
)
func init() {
SigningMethod = new(SigningMethodEd25519)
jwt.RegisterSigningMethod(SigningMethod.Alg(), func() jwt.SigningMethod {
return SigningMethod
})
@@ -17,10 +18,6 @@ func init() {
var SigningMethod jwt.SigningMethod
func init() {
SigningMethod = new(SigningMethodEd25519)
}
type SigningMethodEd25519 struct{}
func (m *SigningMethodEd25519) Alg() string {