Documentation ¶
Overview ¶
Package identifier provides handlers for associating an identity with incoming requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenBased ¶
type TokenBased struct {
// contains filtered or unexported fields
}
TokenBased extracts Bearer tokens from the request.
func NewTokenBased ¶
func NewTokenBased(inner http.Handler) *TokenBased
NewTokenBased returns a new TokenBased object.
func (*TokenBased) ServeHTTP ¶
func (h *TokenBased) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.