[chore] vendoring
This commit is contained in:
parent
e6b4426bf3
commit
602d235dc6
|
@ -21,7 +21,7 @@ const (
|
||||||
//
|
//
|
||||||
// A fresh verifier should be generated for each authorization.
|
// A fresh verifier should be generated for each authorization.
|
||||||
// S256ChallengeOption(verifier) should then be passed to Config.AuthCodeURL
|
// S256ChallengeOption(verifier) should then be passed to Config.AuthCodeURL
|
||||||
// (or Config.DeviceAccess) and VerifierOption(verifier) to Config.Exchange
|
// (or Config.DeviceAuth) and VerifierOption(verifier) to Config.Exchange
|
||||||
// (or Config.DeviceAccessToken).
|
// (or Config.DeviceAccessToken).
|
||||||
func GenerateVerifier() string {
|
func GenerateVerifier() string {
|
||||||
// "RECOMMENDED that the output of a suitable random number generator be
|
// "RECOMMENDED that the output of a suitable random number generator be
|
||||||
|
@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// S256ChallengeOption derives a PKCE code challenge derived from verifier with
|
// S256ChallengeOption derives a PKCE code challenge derived from verifier with
|
||||||
// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAccess
|
// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAuth
|
||||||
// only.
|
// only.
|
||||||
func S256ChallengeOption(verifier string) AuthCodeOption {
|
func S256ChallengeOption(verifier string) AuthCodeOption {
|
||||||
return challengeOption{
|
return challengeOption{
|
||||||
|
|
|
@ -1114,8 +1114,8 @@ golang.org/x/net/ipv4
|
||||||
golang.org/x/net/ipv6
|
golang.org/x/net/ipv6
|
||||||
golang.org/x/net/publicsuffix
|
golang.org/x/net/publicsuffix
|
||||||
golang.org/x/net/trace
|
golang.org/x/net/trace
|
||||||
# golang.org/x/oauth2 v0.26.0
|
# golang.org/x/oauth2 v0.27.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.23.0
|
||||||
golang.org/x/oauth2
|
golang.org/x/oauth2
|
||||||
golang.org/x/oauth2/internal
|
golang.org/x/oauth2/internal
|
||||||
# golang.org/x/sync v0.12.0
|
# golang.org/x/sync v0.12.0
|
||||||
|
|
Loading…
Reference in New Issue