Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/jwt/models/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
import "time"

type (
struct {

Check failure on line 6 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected keyword struct, expected name

Check failure on line 6 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected keyword struct, expected name
Alg string `json:"alg"`
Crv string `json:"crv,omitempty"` // For EC keys

Check failure on line 8 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected literal `json:"crv,omitempty"` in grouped declaration; possibly missing semicolon or newline or )

Check failure on line 8 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected literal `json:"crv,omitempty"` in grouped declaration; possibly missing semicolon or newline or )
Kid string `json:"kid"`
Kty string `json:"kty"`
Use string `json:"use"`
X PublicJwk string `json:"x,omitempty"` // For EC keys
X string `json:"x,omitempty"` // For EC keys
Y string `json:"y,omitempty"` // For EC keys
E string `json:"e,omitempty"` // For RSA keys
N string `json:"n,omitempty"` // For RSA keys
}

Check failure on line 16 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected } after top level declaration

Check failure on line 16 in internal/jwt/models/keys.go

View workflow job for this annotation

GitHub Actions / build

syntax error: unexpected } after top level declaration

PrivateJwk struct {
Alg string `json:"alg"`
Crv string `json:"crv,omitempty"` // For EC keys
Expand Down
Loading