Taylor Blau
|
bda2fe845f
|
lfsapi/{auth,client}: introduce do() method to circumvent header altering
|
2017-11-16 13:50:40 -08:00 |
|
Taylor Blau
|
f3b816ad76
|
lfsapi/auth: skip call to c.doWithRedirects with getCreds
|
2017-11-16 13:13:17 -08:00 |
|
Taylor Blau
|
e0064950e7
|
lfsapi/auth: teach DoWithAuth to respect http.extraHeaders
|
2017-11-16 12:04:42 -08:00 |
|
rick olson
|
c18cd21aff
|
add some godocs
|
2017-10-27 14:10:46 -06:00 |
|
rick olson
|
28ff509488
|
lfsapi: return null cred helper if cred helper isn't used for a req
|
2017-10-26 16:09:37 -06:00 |
|
rick olson
|
c8b16f965c
|
lfsapi: move the cred helper init code to DoWithAuth()
|
2017-10-26 13:47:08 -06:00 |
|
rick olson
|
71fb7ad41d
|
lfsapi: retry requests changing access from none IF Auth header is empty
|
2017-09-27 11:23:13 -06:00 |
|
Taylor Blau
|
0ee430bb76
|
lfsapi/auth: optionally prepend an empty scheme to Git remote URLs
|
2017-03-27 16:49:32 -06:00 |
|
risk danger olson
|
c4e0efcf0d
|
lfsapi: only reject credential helper values on 401 requests
|
2017-02-27 10:28:12 -07:00 |
|
risk danger olson
|
4bc7938220
|
lfsapi: unnecessary error wrapping
|
2017-02-24 17:00:50 -07:00 |
|
risk danger olson
|
7d32b5ca28
|
lfsapi: don't export CommandCredentialHelper
|
2017-01-06 14:38:57 -07:00 |
|
risk danger olson
|
b73674e5f8
|
lfsapi: port ntlm support from httputil
|
2017-01-06 11:50:24 -07:00 |
|
risk danger olson
|
e0878c20fe
|
lfsapi: get git creds for ntlm session without setting Authorization header
|
2017-01-06 11:49:39 -07:00 |
|
risk danger olson
|
9e45094cbb
|
lfsapi: document getCreds()
|
2016-12-23 11:13:42 -07:00 |
|
risk danger olson
|
b6b252ff2a
|
lfsapi: fix bugs with getting the correct creds URL and setting the access properly
|
2016-12-22 20:06:51 -07:00 |
|
risk danger olson
|
21c9759dc8
|
add a spot for future ntlm support
|
2016-12-20 12:07:16 -07:00 |
|
risk danger olson
|
dd3a544916
|
Only get the access type for the auth url once
|
2016-12-20 11:53:00 -07:00 |
|
risk danger olson
|
b9d59d42e2
|
fix getAuthAccess(), Authenticate header values can have multiple words
|
2016-12-20 09:40:58 -07:00 |
|
risk danger olson
|
db755d7ac4
|
lfsapi: add DoWithAuth()
|
2016-12-19 17:14:03 -07:00 |
|
risk danger olson
|
31f180bdc6
|
lfsapi: add Client constructor with os and git envs
|
2016-12-19 15:05:35 -07:00 |
|
risk danger olson
|
2275188dcb
|
lfsapi: teach auth about netrc
|
2016-12-19 14:53:18 -07:00 |
|
risk danger olson
|
9e2f2341c4
|
lfsapi: Implement getCreds()
|
2016-12-19 14:38:06 -07:00 |
|