re_auth 0.32.2

Authentication helpers for Rerun
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! This module contains auth middleware for [`tonic`] services.

pub mod client;

#[cfg(not(target_arch = "wasm32"))]
pub mod server;

/// The metadata key used in the metadata of the gRPC request to store the token.
const AUTHORIZATION_KEY: &str = "authorization";

/// The prefix for the token in the metadata of the gRPC request.
const TOKEN_PREFIX: &str = "Bearer ";