Function check_auth

Source
pub async fn check_auth(
    user_provider: Option<UserProviderRef>,
    headers: &MetadataMap,
    query_ctx: QueryContextRef,
) -> Result<bool, Status>
Expand description

Helper function to extract the header from the metadata and authenticate the user.