Open chrisnharvey opened 11 years ago
The current API is not as elegant as it could be.
I am currently devising a way to make this package easier to work with and to use closures less.
I have already added a method to make this work correctly with Laravel as writing to session does not occur until the end of the request. So using:
Session::put('token', $token); header("Location: {$url}"); exit;
does not work because we are prematurely exiting the application which means the session is not written.
The current API is not as elegant as it could be.
I am currently devising a way to make this package easier to work with and to use closures less.
I have already added a method to make this work correctly with Laravel as writing to session does not occur until the end of the request. So using:
does not work because we are prematurely exiting the application which means the session is not written.