Authenticate the current context's user with the provided redis acl user. * Returns REDISMODULE_ERR if the user is disabled. * * See authenticateClientWithUser for information about callback, client_id, * and general usage for authentication. */
| 6766 | * See authenticateClientWithUser for information about callback, client_id, |
| 6767 | * and general usage for authentication. */ |
| 6768 | int RM_AuthenticateClientWithUser(RedisModuleCtx *ctx, RedisModuleUser *module_user, RedisModuleUserChangedFunc callback, void *privdata, uint64_t *client_id) { |
| 6769 | return authenticateClientWithUser(ctx, module_user->user, callback, privdata, client_id); |
| 6770 | } |
| 6771 | |
| 6772 | /* Authenticate the current context's user with the provided redis acl user. |
| 6773 | * Returns REDISMODULE_ERR if the user is disabled or the user does not exist. |
nothing calls this directly
no test coverage detected