\App\Http\Controllers\AuthAuthController

Class Controller.

Summary

Methods
Properties
Constants
__construct()
redirectToProvider()
handleProviderCallback()
No public properties found
No constants found
validator()
create()
$redirectTo
$redirectPath
N/A
findOrCreateUser()
No private properties found
N/A

Properties

$redirectTo

$redirectTo : string

Where to redirect users after login / registration.

Type

string

$redirectPath

$redirectPath : 

Type

Methods

__construct()

__construct() : void

Create a new authentication controller instance.

redirectToProvider()

redirectToProvider() : \App\Http\Controllers\Auth\Response

Redirect the user to the Facebook authentication page.

Returns

\App\Http\Controllers\Auth\Response

handleProviderCallback()

handleProviderCallback() : \App\Http\Controllers\Auth\Response

Obtain the user information from Facebook.

Returns

\App\Http\Controllers\Auth\Response

validator()

validator(array  $data) : \Illuminate\Contracts\Validation\Validator

Get a validator for an incoming registration request.

Parameters

array $data

Returns

\Illuminate\Contracts\Validation\Validator

create()

create(array  $data) : \App\User

Create a new user instance after a valid registration.

Parameters

array $data

Returns

\App\User

findOrCreateUser()

findOrCreateUser(  $facebookUser) : \App\User

Return user if exists; create and return if doesn't.

Parameters

$facebookUser

Returns

\App\User