Свойство | Тип | Описание | |
---|---|---|---|
$redirectTo | string | Where to redirect users after login / registration. |
Метод | Описание | |
---|---|---|
__construct ( ) : void | Create a new controller instance. | |
authenticated ( Illuminate\Http\Request $request, Canvas\Models\User $user ) : Illuminate\Http\RedirectResponse | During the login process, call the GitHub API and grab the latest version of Canvas available and store it in the database. The functionality is kept here so that the API Rate Limit will be harder to reach. | |
logout ( Illuminate\Http\Request $request ) : Illuminate\Http\Response | Log the user out of the application. |
Метод | Описание | |
---|---|---|
create ( array $data ) : Canvas\Models\User | Create a new user instance after a valid registration. | |
validator ( array $data ) : Illuminate\Contracts\Validation\Validator | Get a validator for an incoming registration request. |
public __construct ( ) : void | ||
Результат | void |
public authenticated ( Illuminate\Http\Request $request, Canvas\Models\User $user ) : Illuminate\Http\RedirectResponse | ||
$request | Illuminate\Http\Request | |
$user | Canvas\Models\User | |
Результат | Illuminate\Http\RedirectResponse |
public logout ( Illuminate\Http\Request $request ) : Illuminate\Http\Response | ||
$request | Illuminate\Http\Request | |
Результат | Illuminate\Http\Response |
protected string $redirectTo | ||
Результат | string |