Show / Hide Table of Contents

Class ConsentModel

Inheritance
object
ConsentModel
Namespace: Volo.Abp.Account.Web.Pages
Assembly: Volo.Abp.Account.Pro.Public.Web.IdentityServer.dll
Syntax
public class ConsentModel : AbpPageModel

Constructors

ConsentModel(IIdentityServerInteractionService, IClientStore, IResourceStore, IEventService)

Declaration
public ConsentModel(IIdentityServerInteractionService interaction, IClientStore clientStore, IResourceStore resourceStore, IEventService events)
Parameters
Type Name Description
IIdentityServerInteractionService interaction
IClientStore clientStore
IResourceStore resourceStore
IEventService events

Properties

ClientInfo

Declaration
public ConsentModel.ClientInfoModel ClientInfo { get; set; }
Property Value
Type Description
ConsentModel.ClientInfoModel

ClientStore

Declaration
protected IClientStore ClientStore { get; }
Property Value
Type Description
IClientStore

ConsentInput

Declaration
[BindProperty]
public ConsentModel.ConsentInputModel ConsentInput { get; set; }
Property Value
Type Description
ConsentModel.ConsentInputModel

Events

Declaration
protected IEventService Events { get; }
Property Value
Type Description
IEventService

Interaction

Declaration
protected IIdentityServerInteractionService Interaction { get; }
Property Value
Type Description
IIdentityServerInteractionService

ResourceStore

Declaration
protected IResourceStore ResourceStore { get; }
Property Value
Type Description
IResourceStore

ReturnUrl

Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
Property Value
Type Description
string

ReturnUrlHash

Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ReturnUrlHash { get; set; }
Property Value
Type Description
string

Methods

CreateScopeViewModel(IdentityResource, bool)

Declaration
protected virtual ConsentModel.ScopeViewModel CreateScopeViewModel(IdentityResource identity, bool check)
Parameters
Type Name Description
IdentityResource identity
bool check
Returns
Type Description
ConsentModel.ScopeViewModel

CreateScopeViewModel(ParsedScopeValue, ApiScope, bool)

Declaration
protected virtual ConsentModel.ScopeViewModel CreateScopeViewModel(ParsedScopeValue parsedScopeValue, ApiScope apiScope, bool check)
Parameters
Type Name Description
ParsedScopeValue parsedScopeValue
ApiScope apiScope
bool check
Returns
Type Description
ConsentModel.ScopeViewModel

GetOfflineAccessScope(bool)

Declaration
protected virtual ConsentModel.ScopeViewModel GetOfflineAccessScope(bool check)
Parameters
Type Name Description
bool check
Returns
Type Description
ConsentModel.ScopeViewModel

OnGetAsync()

Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
Type Description
Task<IActionResult>

OnPostAsync()

Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Type Description
Task<IActionResult>
In this article
Back to top Powered by Volosoft