Skip to main content

auth_interceptor

Function auth_interceptor 

Source
pub fn auth_interceptor(
    config: &GrpcAuthConfig,
    request: &Request<()>,
) -> Result<(), Status>
Expand description

Intercept gRPC requests to validate authentication.

Checks for authorization metadata key with Bearer <token> format.