aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/git-lfs-authenticate
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/git-lfs-authenticate')
-rw-r--r--cmd/git-lfs-authenticate/main.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/git-lfs-authenticate/main.go b/cmd/git-lfs-authenticate/main.go
index f48fe5c..027a2f9 100644
--- a/cmd/git-lfs-authenticate/main.go
+++ b/cmd/git-lfs-authenticate/main.go
@@ -100,8 +100,11 @@ type authenticateResponse struct {
100 Header map[string]string `json:"header"` 100 Header map[string]string `json:"header"`
101 // In seconds. 101 // In seconds.
102 ExpiresIn int64 `json:"expires_in,omitempty"` 102 ExpiresIn int64 `json:"expires_in,omitempty"`
103 // expires_at (RFC3339) could also be used, but we leave it out since we 103 // The expires_at (RFC3339) property could also be used, but we leave it
104 // don't use it. 104 // out since we don't use it. It is also possibleto specify the href
105 // property, making the Git LFS use this instead of the usual Service
106 // Discovery mechanism. See
107 // https://github.com/git-lfs/git-lfs/blob/baf40ac99850a62fe98515175d52df5c513463ec/docs/api/server-discovery.md#ssh
105} 108}
106 109
107func wipe(b []byte) { 110func wipe(b []byte) {