pub unsafe extern "C" fn svn_auth_get_simple_prompt_provider(
provider: *mut *mut svn_auth_provider_object_t,
prompt_func: svn_auth_simple_prompt_func_t,
prompt_baton: *mut c_void,
retry_limit: c_int,
pool: *mut apr_pool_t,
)
Expand description
Set @a *provider to an authentication provider of type svn_auth_cred_simple_t that gets information by prompting the user with @a prompt_func and @a prompt_baton. Allocate @a *provider in @a pool.
If both @c SVN_AUTH_PARAM_DEFAULT_USERNAME and @c SVN_AUTH_PARAM_DEFAULT_PASSWORD are defined as runtime parameters in the @c auth_baton, then @a *provider will return the default arguments when svn_auth_first_credentials() is called. If svn_auth_first_credentials() fails, then @a *provider will re-prompt @a retry_limit times (via svn_auth_next_credentials()). For infinite retries, set @a retry_limit to value less than 0.
@since New in 1.4.