Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieToken ¶
func (*CookieToken) Authorize ¶
func (t *CookieToken) Authorize(w http.ResponseWriter, r *http.Request, p encoding.BinaryUnmarshaler) error
func (*CookieToken) Invalidate ¶
func (t *CookieToken) Invalidate(w http.ResponseWriter)
func (*CookieToken) Write ¶
func (t *CookieToken) Write(w http.ResponseWriter, p encoding.BinaryMarshaler) error
type Token ¶
type Token interface { Write(w http.ResponseWriter, m encoding.BinaryMarshaler) error Authorize(w http.ResponseWriter, r *http.Request, p encoding.BinaryUnmarshaler) error Invalidate(w http.ResponseWriter) }
Click to show internal directories.
Click to hide internal directories.