parseSessionFromFragment

Parses a session from a fragment.

Return

The parsed session. Note that the user will be null, but you can retrieve it using Auth.retrieveUser

Parameters

fragment

The fragment to parse the session from, as it appears in the URL. Its values are decoded like query parameters, so pass it percent-encoded and not decoded already.