Handbook
Glossary
users-in-db
Furnace framework
»
Furnace authentication
»
Authentication providers
»
Database authentication provider
Vocabulary
furnace
.
auth
.
providers
.
db
Class description
Singleton class implementing the database authentication provider.
Definition
IN:
furnace.auth.providers.db
SINGLETON:
users-in-db
Methods
USING:
db.tuples
furnace.auth.providers
furnace.auth.providers.db
kernel
;
M:
users-in-db
get-user
drop
<user>
select-tuple
;
USING:
accessors
db
db.tuples
furnace.auth.providers
furnace.auth.providers.db
kernel
;
M:
users-in-db
new-user
drop
[
user
new
over
username>>
>>username
select-tuple
[
drop
f
]
[
dup
insert-tuple
]
if
]
with-transaction
;
USING:
db.tuples
furnace.auth.providers
furnace.auth.providers.db
kernel
;
M:
users-in-db
update-user
drop
update-tuple
;