-
Notifications
You must be signed in to change notification settings - Fork 25
/
AzureFunctionsAuthenticationHttpContextExtension.xml
75 lines (75 loc) 路 4.87 KB
/
AzureFunctionsAuthenticationHttpContextExtension.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Type Name="AzureFunctionsAuthenticationHttpContextExtension" FullName="Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension">
<TypeSignature Language="C#" Value="public static class AzureFunctionsAuthenticationHttpContextExtension" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit AzureFunctionsAuthenticationHttpContextExtension extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension" />
<TypeSignature Language="VB.NET" Value="Public Module AzureFunctionsAuthenticationHttpContextExtension" />
<TypeSignature Language="F#" Value="type AzureFunctionsAuthenticationHttpContextExtension = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Web</AssemblyName>
<AssemblyVersion>2.11.0.0</AssemblyVersion>
<AssemblyVersion>2.11.1.0</AssemblyVersion>
<AssemblyVersion>2.12.4.0</AssemblyVersion>
<AssemblyVersion>2.13.0.0</AssemblyVersion>
<AssemblyVersion>2.13.1.0</AssemblyVersion>
<AssemblyVersion>2.13.2.0</AssemblyVersion>
<AssemblyVersion>2.13.3.0</AssemblyVersion>
<AssemblyVersion>2.13.4.0</AssemblyVersion>
<AssemblyVersion>2.14.0.0</AssemblyVersion>
<AssemblyVersion>2.15.1.0</AssemblyVersion>
<AssemblyVersion>2.15.2.0</AssemblyVersion>
<AssemblyVersion>2.15.3.0</AssemblyVersion>
<AssemblyVersion>2.15.5.0</AssemblyVersion>
<AssemblyVersion>2.16.0.0</AssemblyVersion>
<AssemblyVersion>2.16.1.0</AssemblyVersion>
<AssemblyVersion>2.17.0.0</AssemblyVersion>
<AssemblyVersion>2.17.1.0</AssemblyVersion>
<AssemblyVersion>2.17.2.0</AssemblyVersion>
<AssemblyVersion>2.17.3.0</AssemblyVersion>
<AssemblyVersion>2.17.4.0</AssemblyVersion>
<AssemblyVersion>2.17.5.0</AssemblyVersion>
<AssemblyVersion>2.18.1.0</AssemblyVersion>
<AssemblyVersion>2.18.2.0</AssemblyVersion>
<AssemblyVersion>2.19.0.0</AssemblyVersion>
<AssemblyVersion>2.19.1.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Extensions for <see cref="T:Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AuthenticateAzureFunctionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<(bool, Microsoft.AspNetCore.Mvc.IActionResult?)> AuthenticateAzureFunctionAsync (this Microsoft.AspNetCore.Http.HttpContext httpContext);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<valuetype System.ValueTuple`2<bool, class Microsoft.AspNetCore.Mvc.IActionResult>> AuthenticateAzureFunctionAsync(class Microsoft.AspNetCore.Http.HttpContext httpContext) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync(Microsoft.AspNetCore.Http.HttpContext)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AuthenticateAzureFunctionAsync (httpContext As HttpContext) As Task(Of ValueTuple(Of Boolean, IActionResult))" />
<MemberSignature Language="F#" Value="static member AuthenticateAzureFunctionAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<ValueTuple<bool, Microsoft.AspNetCore.Mvc.IActionResult>>" Usage="Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync httpContext" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Web</AssemblyName>
<AssemblyVersion>2.19.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.ValueTuple<System.Boolean,Microsoft.AspNetCore.Mvc.IActionResult>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="httpContext" Type="Microsoft.AspNetCore.Http.HttpContext" RefType="this" />
</Parameters>
<Docs>
<param name="httpContext">The current HTTP Context, such as req.HttpContext.</param>
<summary>
Enables an Azure Function to act as/expose a protected web API, enabling bearer token authentication.
Calling this method from your Azure function validates the token and exposes the identity of the user or app on behalf of which your function is called,
in the HttpContext.User member, where your function can make use of it.
</summary>
<returns>A task indicating success or failure. In case of failure <see cref="T:Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>