Reference documentation and code samples for the Google Auth Library Client class GetUniverseDomainInterface.
An interface implemented by objects that can get universe domain for Google Cloud APIs.
Classes which implement this interface in this package:
- CredentialsLoader
- Credentials\ExternalAccountAuthorizedUserCredentials
- Credentials\ExternalAccountCredentials
- Credentials\GCECredentials
- Credentials\ImpersonatedServiceAccountCredentials
- Credentials\ServiceAccountCredentials
- Credentials\ServiceAccountJwtAccessCredentials
- Credentials\UserRefreshCredentials
- FetchAuthTokenCache
Namespace
Google \ AuthMethods
getUniverseDomain
Get the universe domain from the credential. This should always return a string, and default to "googleapis.com" if no universe domain is configured.
| Returns | |
|---|---|
| Type | Description |
string |
|
Constants
DEFAULT_UNIVERSE_DOMAIN
Value: 'googleapis.com'