comparison src/auth/mech-skey.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
188 188
189 const struct mech_module mech_skey = { 189 const struct mech_module mech_skey = {
190 "SKEY", 190 "SKEY",
191 191
192 MEMBER(flags) MECH_SEC_DICTIONARY | MECH_SEC_ACTIVE, 192 MEMBER(flags) MECH_SEC_DICTIONARY | MECH_SEC_ACTIVE,
193 193 MEMBER(passdb_need) MECH_PASSDB_NEED_SET_CREDENTIALS,
194 MEMBER(passdb_need_plain) FALSE,
195 MEMBER(passdb_need_credentials) TRUE,
196 MEMBER(passdb_need_set_credentials) TRUE,
197 194
198 mech_skey_auth_new, 195 mech_skey_auth_new,
199 mech_generic_auth_initial, 196 mech_generic_auth_initial,
200 mech_skey_auth_continue, 197 mech_skey_auth_continue,
201 mech_otp_skey_auth_free 198 mech_otp_skey_auth_free