(c *stdapi.Context)
| 1176 | } |
| 1177 | |
| 1178 | func (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 | |
| 1186 | func (s *Server) SystemJwtToken(c *stdapi.Context) error { |
| 1187 | role := c.Value("role") |
nothing calls this directly
no test coverage detected