ArrowFlightServerCustomAuthHandler

描述

class ArrowFlight.ServerCustomAuthHandler : ArrowFlight.ServerAuthHandler {
  parent_instance: GAFlightServerAuthHandler
}
无可用描述。

实例方法

gaflight_server_custom_auth_handler_authenticate

在初始连接时验证客户端。 服务器可以随时发送和读取来自客户端的响应。

since: 12.0.0

gaflight_server_custom_auth_handler_is_valid

验证每次调用客户端的令牌。

since: 12.0.0

GObject 继承的方法 (43)

请参见 GObject 以获取完整的方法列表。

属性

GAFlightServerAuthHandler 继承的属性 (1)

信号

GObject 继承的信号 (1)
GObject::notify

当对象的某个属性的值通过 g_object_set_property(), g_object_set(), 等等设置时,会发出 notify 信号。

类结构

struct ArrowFlightServerCustomAuthHandlerClass {
  GAFlightServerAuthHandlerClass parent_class;
  void (* authenticate) (
    GAFlightServerCustomAuthHandler* handler,
    GAFlightServerCallContext* context,
    GAFlightServerAuthSender* sender,
    GAFlightServerAuthReader* reader,
    GError** error
  );
  GBytes* (* is_valid) (
    GAFlightServerCustomAuthHandler* handler,
    GAFlightServerCallContext* context,
    GBytes* token,
    GError** error
  );
  
}
无可用描述。
类成员
parent_class: GAFlightServerAuthHandlerClass
无可用描述。
authenticate: void (* authenticate) ( GAFlightServerCustomAuthHandler* handler, GAFlightServerCallContext* context, GAFlightServerAuthSender* sender, GAFlightServerAuthReader* reader, GError** error )
无可用描述。
is_valid: GBytes* (* is_valid) ( GAFlightServerCustomAuthHandler* handler, GAFlightServerCallContext* context, GBytes* token, GError** error )
无可用描述。

虚方法

ArrowFlight.ServerCustomAuthHandlerClass.authenticate

在初始连接时验证客户端。 服务器可以随时发送和读取来自客户端的响应。

since: 12.0.0

ArrowFlight.ServerCustomAuthHandlerClass.is_valid

验证每次调用客户端的令牌。

since: 12.0.0