Skip to content

Commit 442c968

Browse files
eestpeick
authored andcommitted
oauth2: fix docs for GenerateVerifier()
Config.DeviceAccess should be Config.DeviceAuth. merges golang#763 (golang#763)
1 parent 91c299a commit 442c968

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
@@ -21,7 +21,7 @@ const (
2121
//
2222
// A fresh verifier should be generated for each authorization.
2323
// S256ChallengeOption(verifier) should then be passed to Config.AuthCodeURL
24-
// (or Config.DeviceAccess) and VerifierOption(verifier) to Config.Exchange
24+
// (or Config.DeviceAuth) and VerifierOption(verifier) to Config.Exchange
2525
// (or Config.DeviceAccessToken).
2626
func GenerateVerifier() string {
2727
// "RECOMMENDED that the output of a suitable random number generator be

0 commit comments

Comments
 (0)