Back to godoc.org
const ( // Separator is the character between // "Bearer" and the token itself. Separator = " " )
func BearerToken ¶
BearerToken parses the Authorization HTTP header and retrieves only the token from it.
Decode returns a decoded string using base64 decoding.
Documentation was rendered with GOOS=linux and GOARCH=amd64.