Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugHandler ¶
func DebugHandler(dir func(*http.Request)) http.HandlerFunc
func NewProxy ¶
func NewProxy(signer Signer) *httputil.ReverseProxy
Types ¶
type ALBOIDCClaimSet ¶
type ALBOIDCClaimSet struct {
Iss string `json:"iss"`
Sub string `json:"sub"`
Email string `json:"email"`
Exp int64 `json:"exp"`
}
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html
func ALBOIDCClaimSetFromContext ¶
func ALBOIDCClaimSetFromContext(ctx context.Context) ALBOIDCClaimSet
type Authenticator ¶
type Authorizer ¶
type Authorizer struct {
Signer Signer
Doer interface {
Do(*http.Request) (*http.Response, error)
}
Cache *cache.Cache
}
Authorizer authorizes access to authenticated user based on policy document.
type S3Endpoint ¶
func S3EndpointFromContext ¶
func S3EndpointFromContext(ctx context.Context) S3Endpoint
func (S3Endpoint) URL ¶
func (ep S3Endpoint) URL() *url.URL
func (S3Endpoint) Valid ¶
func (ep S3Endpoint) Valid() bool
Click to show internal directories.
Click to hide internal directories.