Google API Core Client - Class InsecureCredentialsWrapper (1.35.0)

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

For connect to emulator.

Namespace

Google \ ApiCore

Methods

__construct

CredentialsWrapper constructor.

getAuthorizationHeaderCallback

Parameter
Name Description
audience string
Returns
Type Description
callable|null Returns null so the gRPC can accept it as an insecure channel.

checkUniverseDomain

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