Update doc references in Auth action results (#15110)
This commit is contained in:
parent
5776542508
commit
6cf34a928c
|
|
@ -11,7 +11,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.ChallengeAsync"/>.
|
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:HttpContext.ChallengeAsync"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ChallengeResult : ActionResult
|
public class ChallengeResult : ActionResult
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.ForbidAsync"/>.
|
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:HttpContext.ForbidAsync"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ForbidResult : ActionResult
|
public class ForbidResult : ActionResult
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.SignInAsync"/>.
|
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:HttpContext.SignInAsync"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SignInResult : ActionResult
|
public class SignInResult : ActionResult
|
||||||
{
|
{
|
||||||
|
|
@ -35,8 +35,8 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
/// <param name="principal">The claims principal containing the user claims.</param>
|
/// <param name="principal">The claims principal containing the user claims.</param>
|
||||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param>
|
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param>
|
||||||
public SignInResult(string authenticationScheme, ClaimsPrincipal principal, AuthenticationProperties properties)
|
public SignInResult(string authenticationScheme, ClaimsPrincipal principal, AuthenticationProperties properties)
|
||||||
{
|
{
|
||||||
AuthenticationScheme = authenticationScheme ?? throw new ArgumentNullException(nameof(authenticationScheme));
|
AuthenticationScheme = authenticationScheme ?? throw new ArgumentNullException(nameof(authenticationScheme));
|
||||||
Principal = principal ?? throw new ArgumentNullException(nameof(principal));
|
Principal = principal ?? throw new ArgumentNullException(nameof(principal));
|
||||||
Properties = properties;
|
Properties = properties;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.SignOutAsync"/>.
|
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:HttpContext.SignOutAsync"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SignOutResult : ActionResult
|
public class SignOutResult : ActionResult
|
||||||
{
|
{
|
||||||
|
|
@ -62,7 +62,7 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
/// <param name="authenticationSchemes">The authentication scheme to use when signing out the user.</param>
|
/// <param name="authenticationSchemes">The authentication scheme to use when signing out the user.</param>
|
||||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param>
|
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param>
|
||||||
public SignOutResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
|
public SignOutResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
|
||||||
{
|
{
|
||||||
AuthenticationSchemes = authenticationSchemes ?? throw new ArgumentNullException(nameof(authenticationSchemes));
|
AuthenticationSchemes = authenticationSchemes ?? throw new ArgumentNullException(nameof(authenticationSchemes));
|
||||||
Properties = properties;
|
Properties = properties;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue