MCPcopy Create free account
hub / github.com/Authula/authula / shouldRenewSession

Method shouldRenewSession

plugins/session/plugin.go:191–195  ·  view source on GitHub ↗

shouldRenewSession checks if the session is past 50% of its max age and should be renewed

(session *models.Session)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

AuthMiddlewareMethod · 0.95
validateSessionHookMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected