.auth_new = mech_apop_auth_new,
.auth_initial = mech_apop_auth_initial,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_dovecot_token_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_dovecot_token_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_anonymous_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_anonymous_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_cram_md5_auth_new,
.auth_initial = mech_cram_md5_auth_initial,
.auth_continue = mech_cram_md5_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_digest_md5_auth_new,
.auth_initial = mech_digest_md5_auth_initial,
.auth_continue = mech_digest_md5_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
void mech_digest_test_set_nonce(struct auth_request *auth_request,
.auth_new = mech_external_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_external_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_login_auth_new,
.auth_initial = mech_login_auth_initial,
.auth_continue = mech_login_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_oauth2_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_oauthbearer_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
const struct sasl_server_mech_def mech_xoauth2 = {
.auth_new = mech_oauth2_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_xoauth2_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
void mech_oauth2_initialize(void)
.auth_new = mech_plain_auth_new,
.auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_plain_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_winbind_ntlm_auth_new,
.auth_initial = mech_winbind_auth_initial,
.auth_continue = mech_winbind_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
const struct sasl_server_mech_def mech_winbind_spnego = {
.auth_new = mech_winbind_spnego_auth_new,
.auth_initial = mech_winbind_auth_initial,
.auth_continue = mech_winbind_auth_continue,
- .auth_free = sasl_server_mech_generic_auth_free,
};
request->mech->auth_continue(mreq, data, data_size);
}
}
-
-void sasl_server_mech_generic_auth_free(struct sasl_server_mech_request *mreq)
-{
- (void)mreq;
-}
void sasl_server_mech_generic_auth_initial(
struct sasl_server_mech_request *mreq,
const unsigned char *data, size_t data_size);
-void sasl_server_mech_generic_auth_free(struct sasl_server_mech_request *mreq);
struct mechanisms_register *
mech_register_init(const struct auth_settings *set);