diff options
author | Santiago M. Mola <santi@mola.io> | 2018-10-31 09:58:10 +0100 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2018-10-31 09:58:10 +0100 |
commit | 8aab983ab6acccab729f164f238bcdf318cc03bb (patch) | |
tree | 0c22811d3e8ea2a80636753149088d7ed0f90c40 /repository.go | |
parent | 3033d45502aa2d7b99d94873b2fa7fd98e66936b (diff) | |
download | go-git-8aab983ab6acccab729f164f238bcdf318cc03bb.tar.gz |
http: improve TokenAuth documentation
Users are often confused with TokenAuth, since it might look that it
should be used with GitHub's OAuth tokens. But that is not the case.
TokenAuth implements HTTP bearer authentication. Most git servers will
use HTTP basic authentication (user+passwords) even for OAuth tokens.
Signed-off-by: Santiago M. Mola <santi@mola.io>
Diffstat (limited to 'repository.go')
0 files changed, 0 insertions, 0 deletions