Documentation

OAuthToken
in package
implements ArrayAccess

OauthAccess Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes, Traits and Enums

ArrayAccess

Table of Contents

DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : mixed
getAccessToken()  : string
Gets access_token
getData()  : array<string|int, NameValue>
Gets data
getExpiresIn()  : string
Gets expires_in
getRefreshToken()  : string
Gets refresh_token
getScope()  : string
Gets scope
getters()  : mixed
getTokenType()  : string
Gets token_type
listInvalidProperties()  : array<string|int, mixed>
show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setAccessToken()  : $this
Sets access_token
setData()  : $this
Sets data
setExpiresIn()  : $this
Sets expires_in
setRefreshToken()  : $this
Sets refresh_token
setScope()  : $this
Sets scope
setters()  : mixed
setTokenType()  : $this
Sets token_type
swaggerTypes()  : mixed
valid()  : bool
validate all the properties in the model return true if all passed

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['access_token' => 'access_token', 'data' => 'data', 'expires_in' => 'expires_in', 'refresh_token' => 'refresh_token', 'scope' => 'scope', 'token_type' => 'token_type']

$container

Associative array for storing property values

protected array<string|int, mixed> $container = []

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['access_token' => 'getAccessToken', 'data' => 'getData', 'expires_in' => 'getExpiresIn', 'refresh_token' => 'getRefreshToken', 'scope' => 'getScope', 'token_type' => 'getTokenType']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['access_token' => 'setAccessToken', 'data' => 'setData', 'expires_in' => 'setExpiresIn', 'refresh_token' => 'setRefreshToken', 'scope' => 'setScope', 'token_type' => 'setTokenType']

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['access_token' => 'string', 'data' => '\\DocuSign\\eSign\\Model\\NameValue[]', 'expires_in' => 'string', 'refresh_token' => 'string', 'scope' => 'string', 'token_type' => 'string']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

__toString()

Gets the string presentation of the object

public __toString() : string
Return values
string

attributeMap()

public static attributeMap() : mixed
Return values
mixed

getAccessToken()

Gets access_token

public getAccessToken() : string
Return values
string

getExpiresIn()

Gets expires_in

public getExpiresIn() : string
Return values
string

getRefreshToken()

Gets refresh_token

public getRefreshToken() : string
Return values
string

getScope()

Gets scope

public getScope() : string
Return values
string

getters()

public static getters() : mixed
Return values
mixed

getTokenType()

Gets token_type

public getTokenType() : string
Return values
string

listInvalidProperties()

show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalid properties with reasons

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool

offsetGet()

Gets offset.

public offsetGet(int $offset) : mixed
Parameters
$offset : int

Offset

Return values
mixed

offsetSet()

Sets value based on offset.

public offsetSet(int $offset, mixed $value) : void
Parameters
$offset : int

Offset

$value : mixed

Value to be set

Return values
void

offsetUnset()

Unsets offset.

public offsetUnset(int $offset) : void
Parameters
$offset : int

Offset

Return values
void

setAccessToken()

Sets access_token

public setAccessToken(string $access_token) : $this
Parameters
$access_token : string

Access token information.

Return values
$this

setData()

Sets data

public setData(array<string|int, NameValue$data) : $this
Parameters
$data : array<string|int, NameValue>
Return values
$this

setExpiresIn()

Sets expires_in

public setExpiresIn(string $expires_in) : $this
Parameters
$expires_in : string
Return values
$this

setRefreshToken()

Sets refresh_token

public setRefreshToken(string $refresh_token) : $this
Parameters
$refresh_token : string
Return values
$this

setScope()

Sets scope

public setScope(string $scope) : $this
Parameters
$scope : string

Must be set to "api".

Return values
$this

setters()

public static setters() : mixed
Return values
mixed

setTokenType()

Sets token_type

public setTokenType(string $token_type) : $this
Parameters
$token_type : string
Return values
$this

swaggerTypes()

public static swaggerTypes() : mixed
Return values
mixed

valid()

validate all the properties in the model return true if all passed

public valid() : bool
Return values
bool

True if all properteis are valid

Search results