Registry / auth / trestle-auth

trestle-auth

JSON →
library0.5.0rbrubygemsunverified

Authentication plugin for the Trestle admin framework.

gem install trestle-auth
INSTALL
IMPORT
SIG · TRESTLE-AUTH
T
trestle-auth
authrubyv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Trestle::Auth
require 'trestle/auth'

Configure authentication for Trestle admin.

require 'trestle/auth' Trestle.configure do |config| config.auth do authenticate do |params| User.find_by(email: params[:email])&.authenticate(params[:password]) end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
trestle-auth — gem install trestle-auth · libregistry