Documentation

IntegrationService
in package

Table of Contents

Properties

$cacheService  : CacheService
$userAllowedProvidersRepository  : UserAllowedProvidersRepository
$userAllowedProvidersService  : UserAllowedProvidersService
$userModuleRepository  : UserModuleRepository
$userService  : UserService

Methods

__construct()  : mixed
generateCredentials()  : ShopifyAutomatedCredential
getShopifyIntegrationUrl()  : string
handleCredential()  : array<string|int, mixed>
validateShopifyCallback()  : Session

Properties

Methods

__construct()

public __construct(CacheService $cacheService, UserAllowedProvidersRepository $userAllowedProvidersRepository, UserModuleRepository $userModuleRepository, UserAllowedProvidersService $userAllowedProvidersService, UserService $userService) : mixed
Parameters
$cacheService : CacheService
$userAllowedProvidersRepository : UserAllowedProvidersRepository
$userModuleRepository : UserModuleRepository
$userAllowedProvidersService : UserAllowedProvidersService
$userService : UserService

getShopifyIntegrationUrl()

public getShopifyIntegrationUrl(array<string|int, mixed> $params, int $userId, int $userModuleId) : string
Parameters
$params : array<string|int, mixed>
$userId : int
$userModuleId : int
Tags
throws
CookieSetException
throws
UninitializedContextException
throws
PrivateAppException
throws
SessionStorageException
Return values
string

handleCredential()

public handleCredential(UserModule $userModule, mixed $data) : array<string|int, mixed>
Parameters
$userModule : UserModule
$data : mixed
Return values
array<string|int, mixed>

validateShopifyCallback()

public validateShopifyCallback(mixed $params, mixed $shopifyCookiesName, mixed $shopifyCookiesSigName) : Session
Parameters
$params : mixed
$shopifyCookiesName : mixed
$shopifyCookiesSigName : mixed
Tags
throws
OAuthSessionNotFoundException
throws
UninitializedContextException
throws
PrivateAppException
throws
SessionStorageException
throws
HttpRequestException
throws
OAuthCookieNotFoundException
throws
InvalidOAuthException
Return values
Session

        
On this page

Search results