Documentation ¶
Overview ¶
Package aws_cloudfront_token provides AWS-CloudFront-Signed-Cookie signer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPairPrivateKey ¶ added in v1.0.0
type KeyPairPrivateKey []byte
func (KeyPairPrivateKey) Sign ¶ added in v1.0.0
func (privateKey KeyPairPrivateKey) Sign(resource string, expires time.Time) (SignedCookieToken, error)
type SignedCookieToken ¶ added in v1.0.0
type SignedCookieToken struct { // CloudFront flavored base64 string Policy string // CloudFront flavored base64 string Signature string }
AWS CloudFront Signed Cookie Token
Click to show internal directories.
Click to hide internal directories.