class BedrockCredentials

internal  
 

Share completed credentials across one provider's gateways without sharing a pending AWS promise.

Properties

protected CredentialsInterface|null $credentials

Methods

CredentialsInterface
get(Closure $resolve, int|null $timeout = null)

Resolve credentials with one owner for each refresh.

bool
isFresh()

Determine whether the credentials can be reused without refreshing.

Details

at line 27
CredentialsInterface get(Closure $resolve, int|null $timeout = null)

Resolve credentials with one owner for each refresh.

Parameters

Closure $resolve
int|null $timeout

Return Value

CredentialsInterface

at line 64
protected bool isFresh()

Determine whether the credentials can be reused without refreshing.

Return Value

bool