Documentation ¶
Index ¶
Constants ¶
View Source
const ( TransformationPlain = PKCEMethod("plain") TransformationS256 = PKCEMethod("S256") )
Defines for the possible PKCEMethod
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PKCE ¶
type PKCE struct {
// contains filtered or unexported fields
}
PKCE is a type holding the information for a PKCE flow
func NewPKCE ¶
func NewPKCE(verifier string, method PKCEMethod) *PKCE
NewPKCE creates a new PKCE for the passed verifier and PKCEMethod
func NewS256PKCE ¶
NewS256PKCE creates a new PKCE for the passed verifier and the PKCEMethod TransformationS256
type PKCEMethod ¶
type PKCEMethod string
PKCEMethod is a type for the code challenge methods
func (PKCEMethod) String ¶
func (m PKCEMethod) String() string
Click to show internal directories.
Click to hide internal directories.