Sha256: 549a791bae527b34d4452065a1e7d76d4e1d62d52848c9deee80a70ca044248f
Contents?: true
Size: 329 Bytes
Versions: 11
Compression:
Stored size: 329 Bytes
Contents
require 'apipie_bindings/authenticators/base' module ApipieBindings module Authenticators class BasicAuth < Base def initialize(user, password) @user = user @password = password end def authenticate(request, args) request.basic_auth(@user, @password) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems