Documentation ¶
Overview ¶
Package nonce implements
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidNonceError ¶
InvalidNonceError is returned by Validate when the observed nonce is invalid.
func (InvalidNonceError) Error ¶
func (e InvalidNonceError) Error() string
type Nonce ¶
type Nonce string
Nonce implements some utilities for working with OIDC nonce parameters.
func (*Nonce) Param ¶
func (n *Nonce) Param() oauth2.AuthCodeOption
Param returns the OAuth2 auth code parameter for sending the nonce during the authorization request.
Click to show internal directories.
Click to hide internal directories.