comparison src/auth/mech-otp.c @ 8605:84eea1977632 HEAD

auth: Code cleanup for specifying what passdb features auth mechanisms need.
author Timo Sirainen <tss@iki.fi>
date Fri, 09 Jan 2009 11:15:56 -0500
parents 971050640e3b
children
comparison
equal deleted inserted replaced
8604:67f923c9988a 8605:84eea1977632
251 251
252 const struct mech_module mech_otp = { 252 const struct mech_module mech_otp = {
253 "OTP", 253 "OTP",
254 254
255 MEMBER(flags) MECH_SEC_DICTIONARY | MECH_SEC_ACTIVE, 255 MEMBER(flags) MECH_SEC_DICTIONARY | MECH_SEC_ACTIVE,
256 256 MEMBER(passdb_need) MECH_PASSDB_NEED_SET_CREDENTIALS,
257 MEMBER(passdb_need_plain) FALSE,
258 MEMBER(passdb_need_credentials) TRUE,
259 MEMBER(passdb_need_set_credentials) TRUE,
260 257
261 mech_otp_auth_new, 258 mech_otp_auth_new,
262 mech_generic_auth_initial, 259 mech_generic_auth_initial,
263 mech_otp_auth_continue, 260 mech_otp_auth_continue,
264 mech_otp_skey_auth_free 261 mech_otp_skey_auth_free