pkceutil

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pkceutil derives and verifies RFC 7636 PKCE code challenges. S256 only; "plain" is not accepted.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChallengeS256

func ChallengeS256(verifier string) string

ChallengeS256 derives the code_challenge for a verifier.

func VerifyS256

func VerifyS256(verifier, challenge string) bool

VerifyS256 reports whether verifier hashes to challenge under S256 (constant-time compare).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL