Android.Service.Credentials 命名空間

提供 Android 憑證提供者所使用的服務、請求、回應及條目。

類別

名稱 Description
Action

由提供者定義的動作,意圖用於提供者的應用程式,針對特定使用者的操作。

Action.InterfaceConsts

提供由 Action所暴露的可分辨介面常數。

BeginCreateCredentialRequest

請求開始建立憑證請求。

BeginCreateCredentialRequest.InterfaceConsts

提供由 BeginCreateCredentialRequest所暴露的可分辨介面常數。

BeginCreateCredentialResponse

對 BeginCreateCredentialRequest.

BeginCreateCredentialResponse.Builder

一位建造者 BeginCreateCredentialResponse

BeginCreateCredentialResponse.InterfaceConsts

提供由 BeginCreateCredentialResponse所暴露的可分辨介面常數。

BeginGetCredentialOption

在查詢流程的查詢階段,向提供者發送特定類型的憑證請求。

BeginGetCredentialOption.InterfaceConsts

提供由 BeginGetCredentialOption所暴露的可分辨介面常數。

BeginGetCredentialRequest

查詢階段請求,從特定憑證提供者取得使用者憑證。

BeginGetCredentialRequest.Builder

建構者 BeginGetCredentialRequest。

BeginGetCredentialRequest.InterfaceConsts

提供由 BeginGetCredentialRequest所暴露的可分辨介面常數。

BeginGetCredentialResponse

來自憑證提供者的回應,包含憑證條目及其他相關資料,將在帳號選擇器介面上顯示。

BeginGetCredentialResponse.Builder

建立一個 的 BeginGetCredentialResponse實例。

BeginGetCredentialResponse.InterfaceConsts

提供由 BeginGetCredentialResponse所暴露的可分辨介面常數。

CallingAppInfo

與呼叫應用程式相關的資訊,包括套件名稱及應用程式簽章清單。

CallingAppInfo.InterfaceConsts

提供由 CallingAppInfo所暴露的可分辨介面常數。

ClearCredentialStateRequest

一個用於清除使用者憑證狀態的請求類別。

ClearCredentialStateRequest.InterfaceConsts

提供由 ClearCredentialStateRequest所暴露的可分辨介面常數。

CreateCredentialRequest

請求建立憑證。

CreateCredentialRequest.InterfaceConsts

提供由 CreateCredentialRequest所暴露的可分辨介面常數。

CreateEntry

一個會在介面上顯示的條目。

CreateEntry.InterfaceConsts

提供由 CreateEntry所暴露的可分辨介面常數。

CredentialEntry

帳號選擇器上會顯示給使用者的憑證條目。

CredentialEntry.InterfaceConsts

提供由 CredentialEntry所暴露的可分辨介面常數。

CredentialProviderService

由憑證提供者擴展服務,以便將使用者憑證回傳至框架。

GetCredentialRequest

請求從某個憑證提供者取得使用者的憑證。

GetCredentialRequest.InterfaceConsts

提供由 GetCredentialRequest所暴露的可分辨介面常數。

RemoteEntry

一個會在介面上顯示的條目。

RemoteEntry.InterfaceConsts

提供由 RemoteEntry所暴露的可分辨介面常數。

備註

從 衍生出 CredentialProviderService 處理建立憑證、尋找可用憑證及清除憑證狀態的請求。 開始請求讓提供者回傳系統選擇器的條目。 當使用者選擇一個條目時,其待處理的意圖會啟動下一階段的提供者活動。

BeginGetCredentialOption 包含用於列出條目的候選查詢資料。 後者 GetCredentialRequest 包含取得所選憑證所需的選項。 不要將候選人查詢資料視為完整的檢索請求。

此命名空間中的實作細節基於 Android 16 憑證提供者來源。 巢狀InterfaceConsts類別是由 Java 產生的 .NET 投影。互通結合產生器。