The ApiKeyHeaderCredentials object provides a wrapper around an API key.
CloneableInstantiable
Constants |
Methods |
public __construct(string $apiKey, ?string $quotaProject = NULL) ApiKeyHeaderCredentials constructor.
|
public checkUniverseDomain() : void Verify that the expected universe domain matches the universe domain from the credentials.
|
public getAuthorizationHeaderCallback(?string $unusedAudience = NULL) : ?callable
|
public getQuotaProject() : ?string
|
Properties |
private string $apiKey |
private ?string $quotaProject |