Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCredential ¶
type ClientCredential struct {
Secret []byte
}
func (ClientCredential) CreateSignature ¶
func (r ClientCredential) CreateSignature(payloadInBytes []byte) (string, error)
func (ClientCredential) ValidateSignature ¶
func (r ClientCredential) ValidateSignature(signatureGiven string, payloadInBytes []byte) error
Click to show internal directories.
Click to hide internal directories.