//! Authentication for the GQL wire protocol server.
use crateGqlError;
use crateproto;
/// Authenticated identity returned by the validator.
/// Validates client credentials during handshake.
///
/// Implement this trait to add authentication to the server.
/// If no validator is configured on the server builder, all
/// connections are accepted.