class Awscr::Signer::Signers::V2

Included Modules

Defined in:

awscr-signer/signers/v2.cr

Constructors

Instance Method Summary

Instance methods inherited from module Awscr::Signer::Signers::Interface

presign(request, *, scope : Scope = Signer::Scope.new(@region, @service)) presign, sign(string : String, *, scope : Scope = Signer::Scope.new(@region, @service))
sign(request : HTTP::Request, *, scope : Scope = Signer::Scope.new(@region, @service))
sign

Constructor Detail

def self.new(service : String, region : String, aws_access_key : String, aws_secret_key : String) #

[View source]

Instance Method Detail

def presign(request, expires = nil, *, scope = Signer::Scope.new(@region, @service)) #

[View source]
def sign(string : String, *, scope = Signer::Scope.new(@region, @service)) #

[View source]
def sign(request : HTTP::Request, *, scope = Signer::Scope.new(@region, @service)) #

Sign an HTTP::Request


[View source]