File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const (
21
21
//
22
22
// A fresh verifier should be generated for each authorization.
23
23
// 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
25
25
// (or Config.DeviceAccessToken).
26
26
func GenerateVerifier () string {
27
27
// "RECOMMENDED that the output of a suitable random number generator be
@@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string {
51
51
}
52
52
53
53
// 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
55
55
// only.
56
56
func S256ChallengeOption (verifier string ) AuthCodeOption {
57
57
return challengeOption {
You can’t perform that action at this time.
0 commit comments