$sessions->detect()
Detects the current session from the request, ignoring the configured mode: prefers a token from the Authorization header and otherwise falls back to the cookie.
Detects the current session from the request, ignoring the configured mode: prefers a token from the Authorization header and otherwise falls back to the cookie.