Documentation ¶
Overview ¶
Package oauth2params provides the generators of parameters such as state and PKCE.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PKCE ¶
PKCE represents a set of PKCE parameters. See https://tools.ietf.org/html/rfc7636.
func (*PKCE) AuthCodeOptions ¶
func (pkce *PKCE) AuthCodeOptions() []oauth2.AuthCodeOption
AuthCodeOptions returns options for oauth2.Config.AuthCodeURL().
func (*PKCE) TokenRequestOptions ¶
func (pkce *PKCE) TokenRequestOptions() []oauth2.AuthCodeOption
TokenRequestOptions returns options for oauth2.Config.Exchange().
Click to show internal directories.
Click to hide internal directories.