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

Struct OAuthConvertStateClaims

coderd/userauth.go:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63)
64
65type OAuthConvertStateClaims struct {
66 jwtutils.RegisteredClaims
67
68 UserID uuid.UUID `json:"user_id"`
69 State string `json:"state"`
70 FromLoginType codersdk.LoginType `json:"from_login_type"`
71 ToLoginType codersdk.LoginType `json:"to_login_type"`
72}
73
74func (o *OAuthConvertStateClaims) Validate(e jwt.Expected) error {
75 return o.RegisteredClaims.Validate(e)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected