distribution/registry/client/auth
Sevki Hasirci 5afbf32400 fix no error returned in fetchTokenWithOAuth
fetchTokenWithBasicAuth checks if a token is in the token response
but fetchTokenWithOAuth does not

these changes implements the same behaviour for the latter
returning a `ErrNoToken` if a token is not found in the resposne

Signed-off-by: Sevki Hasirci <sevki@cloudflare.com>
2019-04-14 11:05:59 +01:00
..
challenge Fix gometalint errors 2019-02-04 16:01:04 -08:00
api_version.go Fix typo in Version doc 2015-07-08 11:02:47 -07:00
session.go fix no error returned in fetchTokenWithOAuth 2019-04-14 11:05:59 +01:00
session_test.go Refactor authorization challenges to its own package 2016-11-09 15:27:40 -08:00