Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrganization ¶ added in v1.25.0
func NewPortfolio ¶ added in v1.27.0
Types ¶
type APIError ¶ added in v1.27.0
type APIError struct { Title string `json:"title"` Code string `json:"code"` Message string `json:"message"` Fields map[string]string `json:"fields,omitempty"` }
APIError struct to represent the error received
type Auth ¶
func (*Auth) AuthenticateWithCredentials ¶
func (r *Auth) AuthenticateWithCredentials( username, password string) (*model.TokenResponse, error)
func (*Auth) ExchangeToken ¶
func (r *Auth) ExchangeToken(code string) (*model.TokenResponse, error)
Click to show internal directories.
Click to hide internal directories.