Authenticates requests using IAM credentials.

CloneableInstantiable
Constants
public Google\Auth\Credentials\IAMCredentials::SELECTOR_KEY = 'x-goog-iam-authority-selector'
public Google\Auth\Credentials\IAMCredentials::TOKEN_KEY = 'x-goog-iam-authorization-token'
Methods
public __construct( $selector, $token)
 
    public getUpdateMetadataFunc()
     

    export a callback function which updates runtime metadata.

    • return array updateMetadata function
    public updateMetadata( $metadata, $unusedAuthUri = NULL, ?callable $httpHandler = NULL)
     

    Updates metadata with the appropriate header metadata.

    • return array updated metadata hashmap
    Properties
    private $selector
     
    • var string
    private $token
     
    • var string
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only