View definition

(*Token).SetAuthHeader

Defined in github.com/golang/oauth2/token.go

Description

SetAuthHeader sets the Authorization header to r using the access token in t.

This method is unnecessary when using Transport or an HTTP Client returned by this package.