| 63 | ) |
| 64 | |
| 65 | type 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 | |
| 74 | func (o *OAuthConvertStateClaims) Validate(e jwt.Expected) error { |
| 75 | return o.RegisteredClaims.Validate(e) |
nothing calls this directly
no outgoing calls
no test coverage detected