IntegratorRemoteService
Table of Contents
Properties
-
$httpClient
: mixed
Methods
-
__construct()
: mixed
-
getCredentials()
: mixed
-
getCredentialsByUserModuleId()
: mixed
-
getStartDirectIntegrationToken()
: mixed
-
getUrl()
: string
-
getUserIntegrationsByEmail()
: array<string|int, mixed>|null
-
getUserIntegrationsByEmailAndPasswordAndIntegrationType()
: array<string|int, mixed>|null
-
callWithTryCatch()
: mixed
-
getResponseJson()
: array<string|int, mixed>|null
$httpClient
private
mixed
$httpClient
__construct()
public
__construct() : mixed
getCredentials()
public
getCredentials(mixed $token) : mixed
Parameters
-
$token
: mixed
-
getCredentialsByUserModuleId()
public
getCredentialsByUserModuleId(mixed $hcUserModuleId) : mixed
Parameters
-
$hcUserModuleId
: mixed
-
getStartDirectIntegrationToken()
public
getStartDirectIntegrationToken(UserModule $userModule, array<string|int, mixed> $data) : mixed
Parameters
-
$userModule
: UserModule
-
-
$data
: array<string|int, mixed>
-
getUrl()
public
getUrl() : string
getUserIntegrationsByEmail()
public
getUserIntegrationsByEmail(string $email) : array<string|int, mixed>|null
Parameters
-
$email
: string
-
Return values
array<string|int, mixed>|null
getUserIntegrationsByEmailAndPasswordAndIntegrationType()
public
getUserIntegrationsByEmailAndPasswordAndIntegrationType(string $email, string $password, string $integrationAlias) : array<string|int, mixed>|null
Parameters
-
$email
: string
-
-
$password
: string
-
-
$integrationAlias
: string
-
Return values
array<string|int, mixed>|null
callWithTryCatch()
private
callWithTryCatch(Closure $callback) : mixed
Parameters
-
$callback
: Closure
-
getResponseJson()
private
getResponseJson(mixed $response) : array<string|int, mixed>|null
Parameters
-
$response
: mixed
-
Return values
array<string|int, mixed>|null