Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
func NewAuthenticator ¶
func NewAuthenticator(publicKey string, scopes ...string) Authenticator
func (Authenticator) Error ¶
func (ware Authenticator) Error(w http.ResponseWriter, code int, message string) bool
func (Authenticator) HasScope ¶
func (ware Authenticator) HasScope(elements interface{}, key string) bool
func (Authenticator) ServeHTTP ¶
func (ware Authenticator) ServeHTTP(w http.ResponseWriter, req *http.Request, context stack.Context) bool
Click to show internal directories.
Click to hide internal directories.