commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Variables
$
a
d
e
f
g
o
r
s
t
u
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
src
Client
RefreshableTokenModel.php
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Commercetools\Client
;
6
10
class
RefreshableTokenModel
implements
Token
11
{
13
private
$value;
14
16
private
$expiresIn;
17
19
private
$refreshToken;
20
21
public
function
__construct
(
string
$value, ?
int
$expiresIn =
null
, ?
string
$refreshToken =
null
)
22
{
23
$this->value = $value;
24
$this->expiresIn = $expiresIn ?? 0;
25
$this->refreshToken = $refreshToken;
26
}
21
public
function
__construct
(
string
$value, ?
int
$expiresIn =
null
, ?
string
$refreshToken =
null
) {
…
}
27
28
public
function
getValue
(): string
29
{
30
return
$this->value;
31
}
28
public
function
getValue
(): string {
…
}
32
33
public
function
getExpiresIn
(): int
34
{
35
return
$this->expiresIn;
36
}
33
public
function
getExpiresIn
(): int {
…
}
37
38
public
function
getRefreshToken
(): ?string
39
{
40
return
$this->refreshToken;
41
}
38
public
function
getRefreshToken
(): ?string {
…
}
42
}
10
class
RefreshableTokenModel
implements
Token
{
…
};
Commercetools\Client\RefreshableTokenModel
Definition
RefreshableTokenModel.php:11
Commercetools\Client\RefreshableTokenModel\__construct
__construct(string $value, ?int $expiresIn=null, ?string $refreshToken=null)
Definition
RefreshableTokenModel.php:21
Commercetools\Client\RefreshableTokenModel\getValue
getValue()
Definition
RefreshableTokenModel.php:28
Commercetools\Client\RefreshableTokenModel\getRefreshToken
getRefreshToken()
Definition
RefreshableTokenModel.php:38
Commercetools\Client\RefreshableTokenModel\getExpiresIn
getExpiresIn()
Definition
RefreshableTokenModel.php:33
Commercetools\Client\Token
Definition
Token.php:16
Commercetools\Client
Definition
AnonymousFlowTokenProvider.php:5
Generated by
1.9.8