Documentation
¶
Index ¶
- Constants
- func ClearNonce(w http.ResponseWriter)
- func Configure(secure bool)
- func Consume(w http.ResponseWriter, r *http.Request, nonce string) (string, bool)
- func Create(w http.ResponseWriter, r *http.Request) (string, error)
- func EnsureNonce(w http.ResponseWriter, r *http.Request) (string, error)
- func Generate() (string, error)
- func ReadNonce(r *http.Request) (string, bool)
Constants ¶
View Source
const CookieName = "authara_oauth_nonce"
Variables ¶
This section is empty.
Functions ¶
func ClearNonce ¶
func ClearNonce(w http.ResponseWriter)
func Consume ¶ added in v0.25.0
Consume removes only the matching nonce so other tabs and providers keep their pending OAuth flows.
func EnsureNonce ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.