Documentation ¶
Index ¶
Constants ¶
View Source
const APIKeyHeader = "x-api-key"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RazeeApiKeyAuthClient ¶
type RazeeApiKeyAuthClient struct {
// contains filtered or unexported fields
}
This client is used for authentication using OAuth e.g. GitHub/GitHub Enterprise
func NewClient ¶
func NewClient(apiKey string) (*RazeeApiKeyAuthClient, error)
func (*RazeeApiKeyAuthClient) Authenticate ¶
func (r *RazeeApiKeyAuthClient) Authenticate(request *http.Request) error
Click to show internal directories.
Click to hide internal directories.