Reference documentation and code samples for the Google API Core Client class InsecureCredentialsWrapper.
For connect to emulator.
Namespace
Google \ ApiCoreMethods
__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.