public function createProvider()
    {
        $config = [
            'clientId' => $this->providerInfos->clientId,
            'clientSecret' => $this->providerInfos->clientSecret,
            'redirectUri' => $this->getRedirectUri(),
        ];

        return new \League\OAuth2\Client\Provider\Instagram($config);
    }
public function createProvider()
    {
        $config = [
            'clientId' => $this->providerInfos->clientId,
            'clientSecret' => $this->providerInfos->clientSecret,
            'redirectUri' => $this->getRedirectUri(),
        ];

        return new \League\OAuth2\Client\Provider\Instagram($config);
    }
public function createProvider ( ) { $ config = [ 'clientId' => $ this -> providerInfos -> clientId , 'clientSecret' => $ this -> providerInfos -> clientSecret , 'redirectUri' => $ this -> getRedirectUri ( ) , ] ; return new \ League \ OAuth2 \ Client \ Provider \ Instagram ( $ config ) ; }
Creates the provider.

@return Instagram
Creates the provider .