 package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v2.34.0
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Sep 16, 2024
  
      
  
    License: Apache-2.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 2
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
  
  
      
  
  
    
    
    
      type LoginRequest struct {
	Email          string `json:"email"`
	Password       string `json:"password,omitempty"`
	TwoFactorToken string `json:"2FA_token,omitempty"`
	Description    string `json:"description,omitempty"`
	Expires        bool   `json:"expires"`
}
     
  
  
     
      
  
  
    
    
    
      type LoginResponse struct {
	Token             *Token `json:"token"`
	TwoFactorRequired bool   `json:"-"`
	WrongPassword     bool   `json:"-"`
}
     
  
  
     
      
  
  
    
    
    
      type Token struct {
	ID             string `json:"id"`
	UserID         string `json:"user_id"`
	AccessKey      string `json:"access_key"`
	SecretKey      string `json:"secret_key"`
	OrganizationID string `json:"organization_id"`
	ProjectID      string `json:"project_id"`
}
     
  Token represents a Token
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.