Virtual Method
ArrowFlightServerCustomAuthHandleris_valid
Declaration [src]
GBytes*
is_valid (
  GAFlightServerCustomAuthHandler* handler,
  GAFlightServerCallContext* context,
  GBytes* token,
  GError** error
)
Parameters
| context | GAFlightServerCallContext | 
| A  | |
| The data is owned by the caller of the function. | |
| token | GBytes | 
| The client token. May be the empty string if the client does not provide a token. | |
| The data is owned by the caller of the function. | |
| error | GError ** | 
| The return location for a GError*, orNULL. | 
Return value
| Returns: | GBytes | 
| The identity of the peer, if this authentication method supports it. | |
| The caller of the function takes ownership of the data, and is responsible for freeing it. | |
| The return value can be NULL. |