Class IndexModel
Assembly: Volo.Abp.Account.Pro.Public.Web.IdentityServer.dll
Syntax
[Authorize]
public class IndexModel : AccountPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
IndexModel(IDeviceFlowInteractionService, IClientStore, IResourceStore, IEventService)
Declaration
public IndexModel(IDeviceFlowInteractionService interaction, IClientStore clientStore, IResourceStore resourceStore, IEventService events)
Parameters
Type |
Name |
Description |
IDeviceFlowInteractionService |
interaction |
|
IClientStore |
clientStore |
|
IResourceStore |
resourceStore |
|
IEventService |
events |
|
Properties
ClientInfo
Declaration
public IndexModel.ClientInfoModel ClientInfo { get; set; }
Property Value
ClientStore
Declaration
protected IClientStore ClientStore { get; }
Property Value
Type |
Description |
IClientStore |
|
ConsentInput
Declaration
public IndexModel.ConsentInputModel ConsentInput { get; set; }
Property Value
Events
Declaration
protected IEventService Events { get; }
Property Value
Type |
Description |
IEventService |
|
Interaction
Declaration
protected IDeviceFlowInteractionService Interaction { get; }
Property Value
Type |
Description |
IDeviceFlowInteractionService |
|
ResourceStore
Declaration
protected IResourceStore ResourceStore { get; }
Property Value
Type |
Description |
IResourceStore |
|
ShowSuccess
Declaration
public bool ShowSuccess { get; set; }
Property Value
UserCode
Declaration
[Required]
[BindProperty(SupportsGet = true)]
public string UserCode { get; set; }
Property Value
Methods
CreateScopeViewModel(IdentityResource, bool)
Declaration
protected virtual IndexModel.ScopeViewModel CreateScopeViewModel(IdentityResource identity, bool check)
Parameters
Type |
Name |
Description |
IdentityResource |
identity |
|
bool |
check |
|
Returns
CreateScopeViewModel(ParsedScopeValue, ApiScope, bool)
Declaration
protected virtual IndexModel.ScopeViewModel CreateScopeViewModel(ParsedScopeValue parsedScopeValue, ApiScope apiScope, bool check)
Parameters
Type |
Name |
Description |
ParsedScopeValue |
parsedScopeValue |
|
ApiScope |
apiScope |
|
bool |
check |
|
Returns
GetOfflineAccessScope(bool)
Declaration
protected virtual IndexModel.ScopeViewModel GetOfflineAccessScope(bool check)
Parameters
Type |
Name |
Description |
bool |
check |
|
Returns
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
OnPostConfirmAsync()
Declaration
public virtual Task<IActionResult> OnPostConfirmAsync()
Returns
Implements
Extension Methods