PHP Class App\services\AuthService

Mostrar archivo Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Properties

Property Type Description
$providers array

Public Methods

Method Description
__construct ( AccountRepository $repo ) AuthService constructor.
execute ( $provider, $hasCode ) : Illuminate\Http\RedirectResponse
getProviderId ( $provider ) : mixed
getProviderName ( $providerId ) : mixed | string
getProviders ( )

Private Methods

Method Description
getAuthorization ( $provider ) : mixed

Method Details

__construct() public method

AuthService constructor.
public __construct ( AccountRepository $repo )
$repo App\Ninja\Repositories\AccountRepository

execute() public method

public execute ( $provider, $hasCode ) : Illuminate\Http\RedirectResponse
$provider
$hasCode
return Illuminate\Http\RedirectResponse

getProviderId() public static method

public static getProviderId ( $provider ) : mixed
$provider
return mixed

getProviderName() public static method

public static getProviderName ( $providerId ) : mixed | string
$providerId
return mixed | string

getProviders() public static method

public static getProviders ( )

Property Details

$providers public_oe static_oe property

public static array $providers
return array