Documentation ¶
Index ¶
Constants ¶
View Source
const ( SIGNED_ACCESS_TOKEN_HEADER_NAME = "x-amz-access-token" REFRESH_GRANT_TYPE = "refresh_token" )
View Source
const (
ServiceName = "execute-api"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSigV4Signer ¶
type AWSSigV4Signer struct {
// contains filtered or unexported fields
}
func NewSigner ¶
func NewSigner(cfg SignConfig) *AWSSigV4Signer
func (*AWSSigV4Signer) Sign
deprecated
func (s *AWSSigV4Signer) Sign(r *http.Request) error
Deprecated: Util 20231231. Use new_signer instead.
type LwaAuthCredentials ¶ added in v1.0.6
type LwaAuthCredentials struct { ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Endpoint string `json:"endpoint"` RefreshToken string `json:"refresh_token"` GrantType string `json:"grant_type"` Scope *string `json:"scope,omitempty"` }
func (*LwaAuthCredentials) GetAccessTokenFromEndpoint ¶ added in v1.0.6
func (t *LwaAuthCredentials) GetAccessTokenFromEndpoint(ctx context.Context) (*Token, error)
type LwaAuthSigner ¶ added in v1.0.6
type LwaAuthSigner struct{}
type SignConfig ¶
type TokenError ¶ added in v1.0.6
Click to show internal directories.
Click to hide internal directories.