Module ejabberd_auth_external [erl svg]

Function Index

check_cache_last_options/1*
check_password/3
check_password/5
check_password_cache/4*
check_password_extauth/3*
check_password_external_cache/3*
check_password_storage/3*
dirty_get_registered_users/0Return the list of all users handled by external.
get_cache_option/1*
get_last_access/2*
get_last_info/2*
get_mod_last_configured/1*
get_mod_last_enabled/1*
get_password/2Get the user cached password, if possible.
get_password_cache/3*
get_password_s/2
get_password_storage/2*
get_vh_registered_users/1
get_vh_registered_users/2
get_vh_registered_users_number/1
get_vh_registered_users_number/2
is_configured/2*
is_fresh_enough/2*
is_user_exists/2
plain_password_required/0
remove_user/2
remove_user/3
set_password/3
set_password_storage/3*
start/1
stop/1
store_type/0
try_register/3
try_register_extauth/3*
try_register_external_cache/3*

Function Details

check_cache_last_options/1 *

check_cache_last_options(Server) -> any()

check_password/3

check_password(User, Server, Password) -> bool()

check_password/5

check_password(User, Server, Password, Digest, DigestGen) -> bool()

check_password_cache/4 *

check_password_cache(User, Server, Password, CacheTime) -> any()

check_password_extauth/3 *

check_password_extauth(User, Server, Password) -> true | false

check_password_external_cache/3 *

check_password_external_cache(User, Server, Password) -> any()

check_password_storage/3 *

check_password_storage(User, Server, Password) -> true | false

dirty_get_registered_users/0

dirty_get_registered_users() -> nil()

Return the list of all users handled by external.

To do

get_cache_option/1 *

get_cache_option(Host::string()) -> false | {true, CacheTime::integer()}

get_last_access/2 *

get_last_access(UserS::User, ServerS::Server) -> TimeStamp::integer() | online | never | mod_last_required

get_last_info/2 *

get_last_info(User, Server) -> {ok, Timestamp, Status} | not_found | mod_last_required

get_mod_last_configured/1 *

get_mod_last_configured(Server) -> any()

get_mod_last_enabled/1 *

get_mod_last_enabled(ServerB::Server) -> mod_last | no_mod_last

get_password/2

get_password(User, Server) -> bool()

Get the user cached password, if possible. The password can only be returned if cache is enabled, cached info exists and is fresh enough.

get_password_cache/3 *

get_password_cache(User, Server, CacheTime) -> Password::string() | false

get_password_s/2

get_password_s(User, Server) -> nil()

get_password_storage/2 *

get_password_storage(User, Server) -> any()

get_vh_registered_users/1

get_vh_registered_users(Server) -> any()

get_vh_registered_users/2

get_vh_registered_users(Server, Data) -> any()

get_vh_registered_users_number/1

get_vh_registered_users_number(Server) -> nil()

get_vh_registered_users_number/2

get_vh_registered_users_number(Server, Data) -> any()

is_configured/2 *

is_configured(Host, Module) -> any()

is_fresh_enough/2 *

is_fresh_enough(TimeStampLast::TimeLast, CacheTime) -> true | false

is_user_exists/2

is_user_exists(User, Server) -> true | false | {error, Error}

plain_password_required/0

plain_password_required() -> bool()

remove_user/2

remove_user(User, Server) -> {error, not_allowed}

remove_user/3

remove_user(User, Server, Password) -> not_allowed

set_password/3

set_password(User, Server, Password) -> ok | {error, unknown_problem}

set_password_storage/3 *

set_password_storage(User, Server, Password) -> ok | {error, invalid_jid}

start/1

start(Host) -> ok

stop/1

stop(Host) -> any()

store_type/0

store_type() -> any()

try_register/3

try_register(User, Server, Password) -> {error, not_allowed}

try_register_extauth/3 *

try_register_extauth(User, Server, Password) -> true | false

try_register_external_cache/3 *

try_register_external_cache(User, Server, Password) -> any()


Generated by EDoc, May 23 2012, 07:15:17.