-
Notifications
You must be signed in to change notification settings - Fork 111
/
BearerTokenExtensions.xml
158 lines (158 loc) · 13 KB
/
BearerTokenExtensions.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<Type Name="BearerTokenExtensions" FullName="Microsoft.Extensions.DependencyInjection.BearerTokenExtensions">
<TypeSignature Language="C#" Value="public static class BearerTokenExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit BearerTokenExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.DependencyInjection.BearerTokenExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module BearerTokenExtensions" />
<TypeSignature Language="F#" Value="type BearerTokenExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Authentication.BearerToken</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Extension methods to configure the bearer token authentication.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AddBearerToken">
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken(class Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken(Microsoft.AspNetCore.Authentication.AuthenticationBuilder)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder) As AuthenticationBuilder" />
<MemberSignature Language="F#" Value="static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder" Usage="Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken builder" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Authentication.BearerToken</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.Authentication.AuthenticationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.AspNetCore.Authentication.AuthenticationBuilder" RefType="this" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationBuilder" />.</param>
<summary>
Adds bearer token authentication. The default scheme is specified by <see cref="F:Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenDefaults.AuthenticationScheme" />.
<para>
Bearer tokens can be obtained by calling <see cref="M:Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.SignInAsync(Microsoft.AspNetCore.Http.HttpContext,System.String,System.Security.Claims.ClaimsPrincipal)" />.
</para></summary>
<returns>A reference to <paramref name="builder" /> after the operation has completed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddBearerToken">
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken(class Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, class System.Action`1<class Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.Action{Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder, configure As Action(Of BearerTokenOptions)) As AuthenticationBuilder" />
<MemberSignature Language="F#" Value="static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder" Usage="Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken (builder, configure)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Authentication.BearerToken</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.Authentication.AuthenticationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.AspNetCore.Authentication.AuthenticationBuilder" RefType="this" />
<Parameter Name="configure" Type="System.Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions>" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationBuilder" />.</param>
<param name="configure">Action used to configure the bearer token authentication options.</param>
<summary>
Adds bearer token authentication. The default scheme is specified by <see cref="F:Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenDefaults.AuthenticationScheme" />.
<para>
Bearer tokens can be obtained by calling <see cref="M:Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.SignInAsync(Microsoft.AspNetCore.Http.HttpContext,System.String,System.Security.Claims.ClaimsPrincipal)" />.
</para></summary>
<returns>A reference to <paramref name="builder" /> after the operation has completed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddBearerToken">
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken(class Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder, authenticationScheme As String) As AuthenticationBuilder" />
<MemberSignature Language="F#" Value="static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder" Usage="Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken (builder, authenticationScheme)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Authentication.BearerToken</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.Authentication.AuthenticationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.AspNetCore.Authentication.AuthenticationBuilder" RefType="this" />
<Parameter Name="authenticationScheme" Type="System.String" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationBuilder" />.</param>
<param name="authenticationScheme">The authentication scheme.</param>
<summary>
Adds bearer token authentication.
<para>
Bearer tokens can be obtained by calling <see cref="M:Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.SignInAsync(Microsoft.AspNetCore.Http.HttpContext,System.String,System.Security.Claims.ClaimsPrincipal)" />.
</para></summary>
<returns>A reference to <paramref name="builder" /> after the operation has completed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddBearerToken">
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBearerToken(class Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, class System.Action`1<class Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> configure) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken(Microsoft.AspNetCore.Authentication.AuthenticationBuilder,System.String,System.Action{Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddBearerToken (builder As AuthenticationBuilder, authenticationScheme As String, configure As Action(Of BearerTokenOptions)) As AuthenticationBuilder" />
<MemberSignature Language="F#" Value="static member AddBearerToken : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder" Usage="Microsoft.Extensions.DependencyInjection.BearerTokenExtensions.AddBearerToken (builder, authenticationScheme, configure)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Authentication.BearerToken</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.Authentication.AuthenticationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.AspNetCore.Authentication.AuthenticationBuilder" RefType="this" />
<Parameter Name="authenticationScheme" Type="System.String" />
<Parameter Name="configure" Type="System.Action<Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions>" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationBuilder" />.</param>
<param name="authenticationScheme">The authentication scheme.</param>
<param name="configure">Action used to configure the bearer token authentication options.</param>
<summary>
Adds bearer token authentication.
<para>
Bearer tokens can be obtained by calling <see cref="M:Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.SignInAsync(Microsoft.AspNetCore.Http.HttpContext,System.String,System.Security.Claims.ClaimsPrincipal)" />.
</para></summary>
<returns>A reference to <paramref name="builder" /> after the operation has completed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>