Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathSignatureValidator ¶
type PathSigner ¶
type PathSignerValidator ¶
type PathSignerValidator struct { Secret string Clock clock.Clock SigningKeys map[string]string ActiveKeyID string }
func Validate ¶
func Validate(signer *PathSignerValidator) *PathSignerValidator
func (*PathSignerValidator) SignatureValid ¶
func (signer *PathSignerValidator) SignatureValid(method string, u *url.URL) bool
Click to show internal directories.
Click to hide internal directories.