ln_gateway::rpc::rpc_server

Function authenticate

Source
async fn authenticate(
    gateway_hashed_password: Hash,
    password_salt: [u8; 16],
    request: Request,
    next: Next,
) -> Result<Response, StatusCode>
Expand description

Validate that the Bearer token matches the gateway’s hashed password