Get the OAuthSession object associated to a request.
This method is optimized for speed. It just gets the OAuthSession from the request context and doesn't do any validation.
Always make sure that either login or isLoggedIn has been called for a request before this method is used.
the request to get the relevant session for
The session associated to req, or null if no session was found.
See Implementation
Get the OAuthSession object associated to a request.
This method is optimized for speed. It just gets the OAuthSession from the request context and doesn't do any validation.
Always make sure that either login or isLoggedIn has been called for a request before this method is used.