File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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).
2626func GenerateVerifier () string {
2727 // "RECOMMENDED that the output of a suitable random number generator be
@@ -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.
5656func S256ChallengeOption (verifier string ) AuthCodeOption {
5757 return challengeOption {
You can’t perform that action at this time.
0 commit comments