0
[FunctionName("Function1"),Authentication]
public static IActionResult Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)]HttpRequest req, TraceWriter log)
{
}
[Authentication]
のようなカスタム関数属性はFunctionInvocationFilterAttribute
を実装 Authentication
私の習慣ですたいです。 Authentication
が失敗した場合は、IActionResult
またはHttpResponse
を直接返信します。
どうすればよいですか?