1 implementation of IAuthenticationService
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
14
public class AuthenticationService :
IAuthenticationService
59 references to IAuthenticationService
Microsoft.AspNetCore.Authentication (3)
AuthenticationBuilder.cs (3)
57
/// Adds a <see cref="AuthenticationScheme"/> which can be used by <see cref="
IAuthenticationService
"/>.
71
/// Adds a <see cref="AuthenticationScheme"/> which can be used by <see cref="
IAuthenticationService
"/>.
85
/// which can be used by <see cref="
IAuthenticationService
"/>.
Microsoft.AspNetCore.Authentication.Abstractions (26)
AuthenticationHttpContextExtensions.cs (3)
216
private static
IAuthenticationService
GetAuthenticationService(HttpContext context) =>
217
context.RequestServices.GetService<
IAuthenticationService
>() ??
219
nameof(
IAuthenticationService
),
AuthenticationOptions.cs (5)
69
/// Used as the default scheme by <see cref="
IAuthenticationService
.AuthenticateAsync(HttpContext, string)"/>.
74
/// Used as the default scheme by <see cref="
IAuthenticationService
.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.
79
/// Used as the default scheme by <see cref="
IAuthenticationService
.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.
84
/// Used as the default scheme by <see cref="
IAuthenticationService
.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.
89
/// Used as the default scheme by <see cref="
IAuthenticationService
.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
IAuthenticationSchemeProvider.cs (13)
27
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.AuthenticateAsync(HttpContext, string)"/>.
31
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.AuthenticateAsync(HttpContext, string)"/>.</returns>
35
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.
39
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
43
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
47
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
51
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.
55
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.</returns>
59
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.
63
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
67
/// Registers a scheme for use by <see cref="
IAuthenticationService
"/>.
73
/// Registers a scheme for use by <see cref="
IAuthenticationService
"/>.
91
/// Removes a scheme, preventing it from being used by <see cref="
IAuthenticationService
"/>.
IClaimsTransformation.cs (1)
9
/// Used by the <see cref="
IAuthenticationService
"/> for claims transformation.
TokenExtensions.cs (4)
119
/// <param name="auth">The <see cref="
IAuthenticationService
"/>.</param>
123
public static Task<string?> GetTokenAsync(this
IAuthenticationService
auth, HttpContext context, string tokenName)
129
/// <param name="auth">The <see cref="
IAuthenticationService
"/>.</param>
134
public static async Task<string?> GetTokenAsync(this
IAuthenticationService
auth, HttpContext context, string? scheme, string tokenName)
Microsoft.AspNetCore.Authentication.Core (17)
AuthenticationCoreServiceCollectionExtensions.cs (3)
15
/// Add core authentication services needed for <see cref="
IAuthenticationService
"/>.
24
services.TryAddScoped<
IAuthenticationService
, AuthenticationServiceImpl>();
33
/// Add core authentication services needed for <see cref="
IAuthenticationService
"/>.
AuthenticationSchemeProvider.cs (13)
63
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.AuthenticateAsync(HttpContext, string)"/>.
67
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.AuthenticateAsync(HttpContext, string)"/>.</returns>
74
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.
78
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
85
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
89
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
96
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.
100
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.</returns>
107
/// Returns the scheme that will be used by default for <see cref="
IAuthenticationService
.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.
111
/// <returns>The scheme that will be used by default for <see cref="
IAuthenticationService
.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
133
/// Registers a scheme for use by <see cref="
IAuthenticationService
"/>.
163
/// Registers a scheme for use by <see cref="
IAuthenticationService
"/>.
182
/// Removes a scheme, preventing it from being used by <see cref="
IAuthenticationService
"/>.
AuthenticationService.cs (1)
12
/// Implements <see cref="
IAuthenticationService
"/>.
Microsoft.AspNetCore.Http.Results (2)
Results.cs (1)
30
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
TypedResults.cs (1)
30
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (4)
2321
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
2335
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
2350
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
2367
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
Microsoft.AspNetCore.Mvc.RazorPages (7)
PageBase.cs (3)
155
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
168
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
198
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
PageModel.cs (4)
487
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
500
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
514
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.
530
/// The behavior of this method depends on the <see cref="
IAuthenticationService
"/> in use.