ray.serve.grpc_util.RayServegRPCContext.peer_identities#

RayServegRPCContext.peer_identities() bytes | None[source]#

Gets one or more peer identity(s).

Equivalent to servicer_context.auth_context().get(servicer_context.peer_identity_key())

Returns:

An iterable of the identities, or None if the call is not authenticated. Each identity is returned as a raw bytes type.