Module: Rack::U2f

Defined in:
lib/rack/u2f.rb,
lib/rack/u2f/helpers.rb,
lib/rack/u2f/version.rb,
lib/rack/u2f/registration_store.rb,
lib/rack/u2f/registration_server.rb,
lib/rack/u2f/authentication_middleware.rb,
lib/rack/u2f/registration_store/redis_store.rb,
lib/rack/u2f/registration_store/active_record_store.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Helpers, RegistrationStore Classes: AuthenticationMiddleware, RegistrationServer

Constant Summary collapse

TEMPLATE_DIR =
::File.join(::File.dirname(__FILE__), 'u2f', 'templates')
REGISTRATION_TEMPLATE =
::File.read(::File.join(TEMPLATE_DIR, 'registration_page.html.mustache'))
CHALLENGE_TEMPLATE =
::File.read(::File.join(TEMPLATE_DIR, 'challenge_page.html.mustache'))
U2FJS =
::File.read(::File.join(TEMPLATE_DIR, 'u2f.js'))
VERSION =
"0.1.2"