Skip to content

Commit 2d6b4fd

Browse files
committed
oauth2: Update docs for S256ChallengeOption()
Config.DeviceAccess should be Config.DeviceAuth
1 parent 4728e08 commit 2d6b4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkce.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string {
5151
}
5252

5353
// S256ChallengeOption derives a PKCE code challenge derived from verifier with
54-
// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAccess
54+
// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAuth
5555
// only.
5656
func S256ChallengeOption(verifier string) AuthCodeOption {
5757
return challengeOption{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy