Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Consume ¶
Consume atomically returns and deletes an OAuth state value. The Lua implementation keeps compatibility with Redis versions older than 6.2.
func ValidateRedirect ¶ added in v1.15.12
ValidateRedirect checks a client-supplied OAuth redirect target before it is stored as state and later used as a browser redirect. The scheme must be web-safe, and when the administrator configured a site host the redirect must stay on that host or one of its subdomains; an empty site host disables the host pin so existing deployments keep working.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.