IAMCredentials
class IAMCredentials (View source)
Authenticates requests using IAM credentials.
Constants
| SELECTOR_KEY | 
                     
  | 
            
| TOKEN_KEY | 
                     
  | 
            
Methods
                    __construct(string $selector, string $token)
                                            
                
            No description
                    callable
                
                
                    getUpdateMetadataFunc()
                                            
                
            export a callback function which updates runtime metadata.
                    array
                
                
                    updateMetadata(array $metadata, string $unusedAuthUri = null, callable $httpHandler = null)
                                            
                
            Updates metadata with the appropriate header metadata.
Details
        
        
    __construct(string $selector, string $token)
        
    
    No description
        
                            callable
    getUpdateMetadataFunc()
        
    
    export a callback function which updates runtime metadata.
        
                            array
    updateMetadata(array $metadata, string $unusedAuthUri = null, callable $httpHandler = null)
        
    
    Updates metadata with the appropriate header metadata.