語言

AzureFunctionsAuthenticationHttpContextExtension 類別

定義

public static class AzureFunctionsAuthenticationHttpContextExtension
type AzureFunctionsAuthenticationHttpContextExtension = class
Public Module AzureFunctionsAuthenticationHttpContextExtension
繼承
AzureFunctionsAuthenticationHttpContextExtension

方法

名稱 Description
AuthenticateAzureFunctionAsync(HttpContext)

啟用 Azure 函式作為/揭露受保護的網頁 API,實現承載憑證認證。 從 Azure 函式呼叫此方法,會驗證令牌,並揭露代表函式的使用者或應用程式的身份,位於 HttpContext.User 成員中,函式可在此使用。

適用於