mirror of
https://github.com/distribution/distribution.git
synced 2026-01-17 07:58:23 +00:00
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>