Google API Core Client - Class HeaderCredentialsInterface (1.42.4)

Reference documentation and code samples for the Google API Core Client class HeaderCredentialsInterface.

Classes which implement this interface in this package:

Namespace

Google \ ApiCore

Methods

getAuthorizationHeaderCallback

Parameter
Name Description
audience string|null

optional audience for self-signed JWTs.

Returns
Type Description
callable|null Callable function that returns an authorization header.

checkUniverseDomain

Verify that the expected universe domain matches the universe domain from the credentials.