類別

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