Documentation ¶ Index ¶ func ExtractBearerTokenValue(r http.Request) (string, error) type AuthorizationToken type Error func NewError(err error) Error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExtractBearerTokenValue ¶ added in v0.17.0 func ExtractBearerTokenValue(r http.Request) (string, error) Types ¶ type AuthorizationToken ¶ added in v0.17.0 type AuthorizationToken struct { Type string `yaml:"type"` Value string `yaml:"value"` Token string `yaml:"token,omitempty"` // deprecated; newer versions explicitly use type+value } type Error ¶ type Error struct { // contains filtered or unexported fields } func NewError ¶ func NewError(err error) Error Source Files ¶ View all Source files authorization_token.go error.go utils.go Directories ¶ Show internal Expand all Path Synopsis oauth2 client internal/tests server server/config server/req selfsignedjwt Click to show internal directories. Click to hide internal directories.