wasmer_backend_api::query

Function current_user_with_namespaces

Source
pub async fn current_user_with_namespaces(
    client: &WasmerClient,
    namespace_role: Option<GrapheneRole>,
) -> Result<UserWithNamespaces, Error>
Expand description

Get the currently logged in user, together with all accessible namespaces.

You can optionally filter the namespaces by the user role.