HumHub Documentation (unofficial)

Credentials
in package

FinalYes

Amazon Web Services credentials for API authentication.

Table of Contents

Properties

$accessKeyId  : string
The access key ID that identifies the temporary security credentials.
$expiration  : DateTimeImmutable
The date on which the current credentials expire.
$secretAccessKey  : string
The secret access key that can be used to sign requests.
$sessionToken  : string
The token that users must pass to the service API to use the temporary credentials.

Methods

__construct()  : mixed
create()  : self
getAccessKeyId()  : string
getExpiration()  : DateTimeImmutable
getSecretAccessKey()  : string
getSessionToken()  : string
throwException()  : never

Properties

$accessKeyId

The access key ID that identifies the temporary security credentials.

private string $accessKeyId

$expiration

The date on which the current credentials expire.

private DateTimeImmutable $expiration

$secretAccessKey

The secret access key that can be used to sign requests.

private string $secretAccessKey

$sessionToken

The token that users must pass to the service API to use the temporary credentials.

private string $sessionToken

Methods

__construct()

public __construct(DateTimeImmutable} $input) : mixed
Parameters
$input : DateTimeImmutable}

getAccessKeyId()

public getAccessKeyId() : string
Return values
string

getExpiration()

public getExpiration() : DateTimeImmutable
Return values
DateTimeImmutable

getSecretAccessKey()

public getSecretAccessKey() : string
Return values
string

getSessionToken()

public getSessionToken() : string
Return values
string

throwException()

private throwException(Throwable $exception) : never
Parameters
$exception : Throwable
Return values
never

        
On this page

Search results