Sha256: 87c69ec528fa13da079321bfa0b75779849e3bd0af5ee0e496a5a4339e388294
Contents?: true
Size: 416 Bytes
Versions: 13
Compression:
Stored size: 416 Bytes
Contents
module TokenAuthenticateMe class ParamAuthentication attr :controller def initialize(controller:) @controller = controller end def authenticate(options = {}) token_handler(token, options) end private def token controller.params[:authentication_token] end def token_handler(token, options) controller.token_handler(token, options) end end end
Version data entries
13 entries across 13 versions & 1 rubygems