MCPcopy Create free account
hub / github.com/convox/rack / SystemJwtSignKeyRotate

Method SystemJwtSignKeyRotate

pkg/api/controllers.go:1178–1184  ·  view source on GitHub ↗
(c *stdapi.Context)

Source from the content-addressed store, hash-verified

1176}
1177
1178func (s *Server) SystemJwtSignKeyRotate(c *stdapi.Context) error {
1179 _, err := s.provider(c).WithContext(c.Context()).SystemJwtSignKeyRotate()
1180 if err != nil {
1181 return err
1182 }
1183 return c.RenderOK()
1184}
1185
1186func (s *Server) SystemJwtToken(c *stdapi.Context) error {
1187 role := c.Value("role")

Callers

nothing calls this directly

Calls 4

providerMethod · 0.95
ContextMethod · 0.80
WithContextMethod · 0.65

Tested by

no test coverage detected