ServerCustomAuthHandler.isValid

Validates a per-call client token.

Parameters

context arrowflight.server_call_context.ServerCallContext

A #GAFlightServerCallContext.

token glib.bytes.Bytes

The client token. May be the empty string if the client does not provide a token.

Return Value

Type: glib.bytes.Bytes

The identity of the peer, if this authentication method supports it.