Class ChallengeAccountController
Inheritance
ChallengeAccountController
Implements
Inherited Members
Namespace: Volo.Abp.AspNetCore.Mvc.Authentication
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public abstract class ChallengeAccountController : AbpController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable, IAvoidDuplicateCrossCuttingConcerns
Constructors
ChallengeAccountController(string[]?)
Declaration
protected ChallengeAccountController(string[]? challengeAuthenticationSchemas = null)
Parameters
Type | Name | Description |
---|---|---|
string[] | challengeAuthenticationSchemas |
Properties
AuthenticationType
Declaration
protected string AuthenticationType { get; }
Property Value
Type | Description |
---|---|
string |
ChallengeAuthenticationSchemas
Declaration
protected string[] ChallengeAuthenticationSchemas { get; }
Property Value
Type | Description |
---|---|
string[] |
ForbidSchemes
Declaration
protected string[] ForbidSchemes { get; }
Property Value
Type | Description |
---|---|
string[] |
Methods
AccessDeniedAsync()
Declaration
[HttpGet]
public virtual Task<IActionResult> AccessDeniedAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |
ChallengeAsync(string, string)
Declaration
[HttpGet]
public virtual Task<ActionResult> ChallengeAsync(string returnUrl = "", string returnUrlHash = "")
Parameters
Type | Name | Description |
---|---|---|
string | returnUrl | |
string | returnUrlHash |
Returns
Type | Description |
---|---|
Task<ActionResult> |
FrontChannelLogoutAsync(string)
Declaration
[HttpGet]
public virtual Task<IActionResult> FrontChannelLogoutAsync(string sid)
Parameters
Type | Name | Description |
---|---|---|
string | sid |
Returns
Type | Description |
---|---|
Task<IActionResult> |
LoginAsync(string, string)
Declaration
[HttpGet]
public virtual Task<ActionResult> LoginAsync(string returnUrl = "", string returnUrlHash = "")
Parameters
Type | Name | Description |
---|---|---|
string | returnUrl | |
string | returnUrlHash |
Returns
Type | Description |
---|---|
Task<ActionResult> |
LogoutAsync(string, string)
Declaration
[HttpGet]
public virtual Task<ActionResult> LogoutAsync(string returnUrl = "", string returnUrlHash = "")
Parameters
Type | Name | Description |
---|---|---|
string | returnUrl | |
string | returnUrlHash |
Returns
Type | Description |
---|---|
Task<ActionResult> |