 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeAuthenticator ¶
func NewFakeAuthenticator(defaultCredentials auth.Credentials) auth.Authenticator
NewFakeAuthenticator creates a Fake authenticator for Bayeux/Salesforce.
Types ¶
type Authenticator ¶
type Authenticator struct {
	// contains filtered or unexported fields
}
    Authenticator is a test oriented fake Authenticator.
func (*Authenticator) CreateOrRenewCredentials ¶
func (a *Authenticator) CreateOrRenewCredentials() (*auth.Credentials, error)
CreateOrRenewCredentials will always create a new set of credentials.
func (*Authenticator) NewCredentials ¶
func (a *Authenticator) NewCredentials() (*auth.Credentials, error)
NewCredentials generates a new set of credentials.
func (*Authenticator) RefreshCredentials ¶
func (a *Authenticator) RefreshCredentials() (*auth.Credentials, error)
RefreshCredentials renews credentials.
 Click to show internal directories. 
   Click to hide internal directories.