MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / tfaBypassUntilToStr

Function tfaBypassUntilToStr

server-source-code/internal/handler/auth.go:1234–1239  ·  view source on GitHub ↗
(t *time.Time)

Source from the content-addressed store, hash-verified

1232}
1233
1234func 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}.
1242func (h *AuthHandler) RevokeSession(w http.ResponseWriter, r *http.Request) {

Callers 1

GetSessionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected