mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 01:53:42 +08:00 
			
		
		
		
	vendor github.com/aws/aws-sdk-go-v2/config v1.26.6 and related dependencies. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
		
			
				
	
	
		
			22 lines
		
	
	
		
			500 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			500 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package http
 | 
						|
 | 
						|
import (
 | 
						|
	"context"
 | 
						|
 | 
						|
	smithy "github.com/aws/smithy-go"
 | 
						|
	"github.com/aws/smithy-go/auth"
 | 
						|
)
 | 
						|
 | 
						|
// AuthScheme defines an HTTP authentication scheme.
 | 
						|
type AuthScheme interface {
 | 
						|
	SchemeID() string
 | 
						|
	IdentityResolver(auth.IdentityResolverOptions) auth.IdentityResolver
 | 
						|
	Signer() Signer
 | 
						|
}
 | 
						|
 | 
						|
// Signer defines the interface through which HTTP requests are supplemented
 | 
						|
// with an Identity.
 | 
						|
type Signer interface {
 | 
						|
	SignRequest(context.Context, *Request, auth.Identity, smithy.Properties) error
 | 
						|
}
 |