Sha256: 061867340980fa0b1c8a9bac5ab40a5313a6369a97eb6267761107f2268d2433
Contents?: true
Size: 448 Bytes
Versions: 4
Compression:
Stored size: 448 Bytes
Contents
class Acme::Resources::Challenges::HTTP01 < Acme::Resources::Challenges::Base CONTENT_TYPE = 'text/plain' def content_type CONTENT_TYPE end def file_content authorization_key end def filename ".well-known/acme-challenge/#{token}" end def request_verification response = client.connection.post(@uri, { resource: 'challenge', type: 'http-01', keyAuthorization: authorization_key }) response.success? end end
Version data entries
4 entries across 4 versions & 1 rubygems