pub unsafe extern "C" fn gss_authorize_localname(
    minor: *mut OM_uint32,
    name: gss_name_t,
    user: gss_name_t
) -> OM_uint32
Expand description

Determine whether a mechanism name is authorized to act as a local name.

@param [out] minor Minor status code @param [in] name Mechanism name @param [in] user Local name

@a name is a mechanism name, typically the result of a completed gss_accept_sec_context(). @a user is an internal name representing a local name, such as a name imported by gss_import_name() with an @a input_name_type of @c GSS_C_NT_USER_NAME.

@return Return GSS_S_COMPLETE if @a name is authorized to act as @a user, GSS_S_UNAUTHORIZED if not, or an appropriate GSS error code if an error occurred.

@sa gss_userok