function __construct(Request $request, $clientId, $clientSecret, $redirectUrl) { parent::__construct($request, $clientId, $clientSecret, $redirectUrl); $scopesConfig = config('services.mozzos.scopes'); $scopesConfig = is_array($scopesConfig) ? $scopesConfig : ['r_user.profile']; $this->scopes = $scopesConfig; }
/** * Create a new provider instance. * * @param Request $request * @param string $clientId * @param string $clientSecret * @param string $redirectUrl * @return void */ public function __construct(Request $request, $clientId, $clientSecret, $redirectUrl) { parent::__construct($request, $clientId, $clientSecret, $redirectUrl); $config = config('services.thebizark', []); if (!empty($config)) { $this->setOption($config); } }
/** * Create a new provider instance. * * @param Request $request * @param string $clientId * @param string $clientSecret * @param string $redirectUrl * @return void */ public function __construct(Request $request, $clientId, $clientSecret, $redirectUrl) { $this->provider = new RooiOntmoet(); parent::__construct($request, $clientId, $clientSecret, $redirectUrl); }
/** * GezProvider constructor. * @param Request $request * @param string $clientId * @param string $clientSecret * @param string $redirectUrl * @param $endpoint */ public function __construct(Request $request, $clientId, $clientSecret, $redirectUrl) { $this->endpoint = rtrim(config('services.gez.oauth_endpoint'), '/'); parent::__construct($request, $clientId, $clientSecret, $redirectUrl); }