(t *time.Time)
| 1232 | } |
| 1233 | |
| 1234 | func tfaBypassUntilToStr(t *time.Time) interface{} { |
| 1235 | if t == nil { |
| 1236 | return nil |
| 1237 | } |
| 1238 | return t.Format(time.RFC3339) |
| 1239 | } |
| 1240 | |
| 1241 | // RevokeSession handles DELETE /auth/sessions/{sessionId}. |
| 1242 | func (h *AuthHandler) RevokeSession(w http.ResponseWriter, r *http.Request) { |