ArrowFlightServerCustomAuthHandler

描述

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

实例方法

gaflight_server_custom_auth_handler_authenticate

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

自:12.0.0 起

gaflight_server_custom_auth_handler_is_valid

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

自: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

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

自:12.0.0 起

ArrowFlight.ServerCustomAuthHandlerClass.is_valid

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

自:12.0.0 起