MCPcopy Index your code
hub / github.com/coder/coder / Claims

Interface Claims

coderd/jwtutils/jws.go:36–38  ·  view source on GitHub ↗

Claims defines the payload for a JWT. Most callers should embed jwt.Claims

Source from the content-addressed store, hash-verified

34// Claims defines the payload for a JWT. Most callers
35// should embed jwt.Claims
36type Claims interface {
37 Validate(jwt.Expected) error
38}
39
40const (
41 SigningAlgo = jose.HS512

Callers 8

TestAPIVersionValidateFunction · 0.65
tailnetRPCConnMethod · 0.65
ValidateMethod · 0.65
workspaceAgentRPCMethod · 0.65
DecryptFunction · 0.65

Implementers 15

APIVersionapiversion/apiversion.go
OAuthConvertStateClaimscoderd/userauth.go
WorkspaceEventcoderd/wspubsub/wspubsub.go
EncryptedAPIKeyPayloadcoderd/workspaceapps/token.go
RPCVersionListvpn/version.go
CreateAIProviderRequestcodersdk/aiproviders.go
UpdateAIProviderRequestcodersdk/aiproviders.go
CustomNotificationRequestcodersdk/notifications.go
CustomNotificationContentcodersdk/notifications.go
DeploymentValuescodersdk/deployment.go
SSHConfigResponsecodersdk/deployment.go

Calls

no outgoing calls

Tested by

no test coverage detected