Sha256: 7182ceb87451133e183eef3f65f0f9f611bac1abcdbe588ed52983f73480eb27
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 Bytes
Contents
require "base64" require "active_support/message_verifier" module TinyAuth class Verifier < ActiveSupport::MessageVerifier # :nodoc: private def encode(data) ::Base64.urlsafe_encode64(data) end def decode(data) ::Base64.urlsafe_decode64(data) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tiny_auth-3.0.0 | lib/tiny_auth/verifier.rb |
tiny_auth-3.0.0.rc1 | lib/tiny_auth/verifier.rb |