Documentation
¶
Index ¶
- Constants
- Variables
- type FlaskAuth
- func (f *FlaskAuth) DecodeSessionCookie(base64value string) (out gut.StringMap, err error)
- func (f *FlaskAuth) DecodeSessionUserId(userid string) (out []interface{})
- func (f *FlaskAuth) NormalizedSecretKey() string
- func (f *FlaskAuth) ParseSignedCookieValue(value string) (parts []interface{}, sessmap gut.StringMap)
Constants ¶
View Source
const ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
Variables ¶
View Source
var ALPHABET_REVERSE = gut.AlphaReverseMap(ALPHABET, nil)
Functions ¶
This section is empty.
Types ¶
type FlaskAuth ¶
func (*FlaskAuth) DecodeSessionCookie ¶
*
- Decodes the session cookie as it is stored by flask auth.
- This has a few parts (and plugin points):
func (*FlaskAuth) DecodeSessionUserId ¶
func (*FlaskAuth) NormalizedSecretKey ¶
Click to show internal directories.
Click to hide internal directories.