Method
ArrowFlightClientauthenticate_basic_token
since: 12.0.0
Declaration [src]
gboolean
gaflight_client_authenticate_basic_token (
GAFlightClient* client,
const gchar* user,
const gchar* password,
GAFlightCallOptions* options,
gchar** bearer_name,
gchar** bearer_value,
GError** error
)
Description [src]
Authenticates to the server using basic HTTP style authentication.
Available since: 12.0.0
Parameters
user
-
Type:
const gchar*
User name to be used.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. password
-
Type:
const gchar*
Password to be used.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. options
-
Type:
GAFlightCallOptions
A
GAFlightCallOptions
.The argument can be NULL
.The data is owned by the caller of the method. bearer_name
-
Type:
gchar**
Bearer token name on success.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string. bearer_value
-
Type:
gchar**
Bearer token value on success.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will be left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.