Documentation ¶
Overview ¶
Package lfsauthenticate provides functionality for authenticating Git LFS requests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Config *config.Config Args *commandargs.Shell ReadWriter *readwriter.ReadWriter }
Command represents the LFS authentication command
type Payload ¶
type Payload struct { Header PayloadHeader `json:"header"` Href string `json:"href"` ExpiresIn int `json:"expires_in,omitempty"` }
Payload represents the LFS payload
type PayloadHeader ¶
type PayloadHeader struct {
Auth string `json:"Authorization"`
}
PayloadHeader represents the header of the LFS payload
Click to show internal directories.
Click to hide internal directories.