Partial_OAuthAccessTokenResponse
Partial_OAuthAccessTokenResponse
- Full name:
\Onslip360\API\Partial_OAuthAccessTokenResponse
- Parent class:
\Onslip360\Onslip360Object
Properties
access_token
public string|null $access_token
algorithm
public string|null $algorithm
journal
public int|null|\Onslip360\Nil $journal
location
public int|null|\Onslip360\Nil $location
realm
public string|null $realm
scope
public string|null|\Onslip360\Nil $scope
secret
public string|null $secret
token_type
public string|null $token_type
Methods
__construct
public __construct(string|null $access_token = null, string|null $algorithm = null, int|null|\Onslip360\Nil $journal = null, int|null|\Onslip360\Nil $location = null, string|null $realm = null, string|null|\Onslip360\Nil $scope = null, string|null $secret = null, string|null $token_type = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$access_token | string|null | |
$algorithm | string|null | |
$journal | int|null|\Onslip360\Nil | |
$location | int|null|\Onslip360\Nil | |
$realm | string|null | |
$scope | string|null|\Onslip360\Nil | |
$secret | string|null | |
$token_type | string|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05