public static function authenticated(Request $request, User $user)
    {
        // Get and record latest version.
        self::getLatestVersion();

        // Set login message.
        Session::put('_login', trans('canvas::messages.login', ['display_name' => $user->display_name]));
    }
public static function authenticated(Request $request, User $user)
    {
        // Get and record latest version.
        self::getLatestVersion();

        // Set login message.
        Session::put('_login', trans('canvas::messages.login', ['display_name' => $user->display_name]));
    }
public static function authenticated ( Request $ request , User $ user ) { // Get and record latest version. self :: getLatestVersion ( ) ; // Set login message. Session :: put ( '_login' , trans ( 'canvas::messages.login' , [ 'display_name' => $ user -> display_name ] ) ) ; }
Actions to be taken when user is successfully authenticated.

@param Request $request
@param User $user
@return void
Actions to be taken when user is successfully authenticated .