is_valid


Description:

[ Version ( since = "12.0.0" ) ]
public virtual Bytes? is_valid (ServerCallContext context, Bytes token) throws Error

Validates a per-call client token.

Parameters:

this

A ServerCustomAuthHandler.

context

A ServerCallContext.

token

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

Returns:

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