svn_auth_forget_credentials

Function svn_auth_forget_credentials 

Source
pub unsafe extern "C" fn svn_auth_forget_credentials(
    auth_baton: *mut svn_auth_baton_t,
    cred_kind: *const c_char,
    realmstring: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Forget a set (or all) memory-cached credentials.

Remove references (if any) in @a auth_baton to credentials cached therein. If @a cred_kind and @a realmstring are non-NULL, forget only the credentials associated with those credential types and realm. Otherwise @a cred_kind and @a realmstring must both be NULL, and this function will forget all credentials cached within @a auth_baton.

@note This function does not affect persisted authentication credential storage at all. It is merely a way to cause Subversion to forget about credentials already fetched from a provider, forcing them to be fetched again later should they be required.

@since New in 1.8.