Method |
Description |
|
__construct ( Illuminate\Contracts\Auth\Guard $auth ) |
Construct the controller and inject the current auth. |
|
callback ( Illuminate\Http\Request $request, Lastfm $lastfm ) : Illuminate\Http\Response |
Serve the callback request from Last.fm. |
|
connect ( Redirector $redirector, Lastfm $lastfm, Tymon\JWTAuth\JWTAuth $auth = null ) : Redirector | Illuminate\Http\RedirectResponse |
Connect the current user to Last.fm. |
|
disconnect ( ) : Illuminate\Http\JsonResponse |
Disconnect the current user from Last.fm. |
|
setSessionKey ( Illuminate\Http\Request $request ) : Illuminate\Http\JsonResponse |
Set the Last.fm session key of the current user. |
|