Keys
extends Endpoint
in package
Tags
Table of Contents
Constants
- PATH = '/keys'
Properties
Methods
- __construct() : mixed
- all() : KeysResults
- allRaw() : RawKeys
- create() : Key
- delete() : array<string|int, mixed>
- get() : Key
- show() : array<string|int, mixed>|null
- update() : Key
Constants
PATH
protected
mixed
PATH
= '/keys'
Properties
$apiKey
protected
string|null
$apiKey
$http
protected
Http
$http
Methods
__construct()
public
__construct(Http $http[, string|null $apiKey = null ]) : mixed
Parameters
- $http : Http
- $apiKey : string|null = null
all()
public
all([KeysQuery|null $options = null ]) : KeysResults
Parameters
- $options : KeysQuery|null = null
Return values
KeysResultsallRaw()
public
allRaw([array<string|int, mixed> $options = [] ]) : RawKeys
Parameters
- $options : array<string|int, mixed> = []
Return values
RawKeyscreate()
public
create(CreateKeyQuery $request) : Key
Parameters
- $request : CreateKeyQuery
Return values
Keydelete()
public
delete(non-empty-string $keyOrUid) : array<string|int, mixed>
Parameters
- $keyOrUid : non-empty-string
Return values
array<string|int, mixed>get()
public
get(non-empty-string $keyOrUid) : Key
Parameters
- $keyOrUid : non-empty-string
Return values
Keyshow()
public
show() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullupdate()
public
update(UpdateKeyQuery $request) : Key
Parameters
- $request : UpdateKeyQuery