Method
ArrowFlightServerCustomAuthHandleris_valid
Declaration [src]
GBytes*
gaflight_server_custom_auth_handler_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*, or NULL. |
Return value
| Returns: | GBytes |
The identity of the peer, if this authentication method supports it. |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |