View definition

func RegisterBrokenAuthHeaderProvider

Defined in github.com/drone/drone/vendor/golang.org/x/oauth2/oauth2.go

Description

RegisterBrokenAuthHeaderProvider registers an OAuth2 server identified by the tokenURL prefix as an OAuth2 implementation which doesn't support the HTTP Basic authentication scheme to authenticate with the authorization server. Once a server is registered, credentials (client_id and client_secret) will be passed as query parameters rather than being present in the Authorization header. See https://code.google.com/p/goauth2/issues/detail?id=31 for background.

RegisterBrokenAuthHeaderProvider is referenced in 1 repository

github.com/drone/drone