mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-29 19:02:26 -05:00 
			
		
		
		
	[chore]: Bump golang.org/x/oauth2 from 0.27.0 to 0.29.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.27.0 to 0.29.0. - [Commits](https://github.com/golang/oauth2/compare/v0.27.0...v0.29.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-version: 0.29.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
		
					parent
					
						
							
								a87be80c90
							
						
					
				
			
			
				commit
				
					
						d118b42121
					
				
			
		
					 5 changed files with 11 additions and 7 deletions
				
			
		
							
								
								
									
										2
									
								
								go.mod
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
										
									
									
									
								
							|  | @ -86,7 +86,7 @@ require ( | |||
| 	golang.org/x/crypto v0.37.0 | ||||
| 	golang.org/x/image v0.24.0 | ||||
| 	golang.org/x/net v0.38.0 | ||||
| 	golang.org/x/oauth2 v0.27.0 | ||||
| 	golang.org/x/oauth2 v0.29.0 | ||||
| 	golang.org/x/sys v0.32.0 | ||||
| 	golang.org/x/text v0.24.0 | ||||
| 	gopkg.in/mcuadros/go-syslog.v2 v2.3.0 | ||||
|  |  | |||
							
								
								
									
										4
									
								
								go.sum
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
										
									
										generated
									
									
									
								
							|  | @ -562,8 +562,8 @@ golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= | |||
| golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= | ||||
| golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= | ||||
| golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= | ||||
| golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M= | ||||
| golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= | ||||
| golang.org/x/oauth2 v0.29.0 h1:WdYw2tdTK1S8olAzWHdgeqfy+Mtm9XNhv/xJsY65d98= | ||||
| golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= | ||||
| golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
| golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
| golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
|  |  | |||
							
								
								
									
										8
									
								
								vendor/golang.org/x/oauth2/oauth2.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/golang.org/x/oauth2/oauth2.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -288,7 +288,7 @@ func (tf *tokenRefresher) Token() (*Token, error) { | |||
| 	if tf.refreshToken != tk.RefreshToken { | ||||
| 		tf.refreshToken = tk.RefreshToken | ||||
| 	} | ||||
| 	return tk, err | ||||
| 	return tk, nil | ||||
| } | ||||
| 
 | ||||
| // reuseTokenSource is a TokenSource that holds a single token in memory | ||||
|  | @ -356,11 +356,15 @@ func NewClient(ctx context.Context, src TokenSource) *http.Client { | |||
| 	if src == nil { | ||||
| 		return internal.ContextClient(ctx) | ||||
| 	} | ||||
| 	cc := internal.ContextClient(ctx) | ||||
| 	return &http.Client{ | ||||
| 		Transport: &Transport{ | ||||
| 			Base:   internal.ContextClient(ctx).Transport, | ||||
| 			Base:   cc.Transport, | ||||
| 			Source: ReuseTokenSource(nil, src), | ||||
| 		}, | ||||
| 		CheckRedirect: cc.CheckRedirect, | ||||
| 		Jar:           cc.Jar, | ||||
| 		Timeout:       cc.Timeout, | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										2
									
								
								vendor/golang.org/x/oauth2/token.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/oauth2/token.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -169,7 +169,7 @@ func tokenFromInternal(t *internal.Token) *Token { | |||
| 
 | ||||
| // retrieveToken takes a *Config and uses that to retrieve an *internal.Token. | ||||
| // This token is then mapped from *internal.Token into an *oauth2.Token which is returned along | ||||
| // with an error.. | ||||
| // with an error. | ||||
| func retrieveToken(ctx context.Context, c *Config, v url.Values) (*Token, error) { | ||||
| 	tk, err := internal.RetrieveToken(ctx, c.ClientID, c.ClientSecret, c.Endpoint.TokenURL, v, internal.AuthStyle(c.Endpoint.AuthStyle), c.authStyleCache.Get()) | ||||
| 	if err != nil { | ||||
|  |  | |||
							
								
								
									
										2
									
								
								vendor/modules.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/modules.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -1109,7 +1109,7 @@ golang.org/x/net/ipv4 | |||
| golang.org/x/net/ipv6 | ||||
| golang.org/x/net/publicsuffix | ||||
| golang.org/x/net/trace | ||||
| # golang.org/x/oauth2 v0.27.0 | ||||
| # golang.org/x/oauth2 v0.29.0 | ||||
| ## explicit; go 1.23.0 | ||||
| golang.org/x/oauth2 | ||||
| golang.org/x/oauth2/internal | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue