mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-09 21:38:19 +01:00
fmt
This commit is contained in:
1 parent
d27e068d53
commit
c55deb0924
2 files changed
+10
-10
No files matched your search
@@ -59,15 +59,15 @@ type JWKS struct {
|
||||
|
||||
// JWK represents a JSON Web Key
|
||||
type JWK struct {
|
||||
Kty string `json:"kty"` // Key Type (RSA, EC, etc.)
|
||||
Kid string `json:"kid"` // Key ID
|
||||
Use string `json:"use"` // Usage (sig for signature)
|
||||
Alg string `json:"alg"` // Algorithm (RS256, etc.)
|
||||
N string `json:"n"` // RSA public key modulus
|
||||
E string `json:"e"` // RSA public key exponent
|
||||
X string `json:"x"` // EC public key x coordinate
|
||||
Y string `json:"y"` // EC public key y coordinate
|
||||
Crv string `json:"crv"` // EC curve
|
||||
Kty string `json:"kty"` // Key Type (RSA, EC, etc.)
|
||||
Kid string `json:"kid"` // Key ID
|
||||
Use string `json:"use"` // Usage (sig for signature)
|
||||
Alg string `json:"alg"` // Algorithm (RS256, etc.)
|
||||
N string `json:"n"` // RSA public key modulus
|
||||
E string `json:"e"` // RSA public key exponent
|
||||
X string `json:"x"` // EC public key x coordinate
|
||||
Y string `json:"y"` // EC public key y coordinate
|
||||
Crv string `json:"crv"` // EC curve
|
||||
}
|
||||
|
||||
// NewOIDCProvider creates a new OIDC provider
|
||||
|
||||
@@ -262,7 +262,7 @@ func TestOIDCProviderUserInfo(t *testing.T) {
|
||||
t.Skip("UserInfo endpoint integration not yet implemented - skipping user info test")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, identity)
|
||||
assert.Equal(t, "user123", identity.UserID)
|
||||
|
||||
Reference in new issue
Block a user