Class ConsentModel
Inheritance
System.Object
ConsentModel
Assembly: Volo.Abp.Account.Web.IdentityServer.dll
Syntax
public class ConsentModel : AbpPageModel
Constructors
ConsentModel(IIdentityServerInteractionService, IClientStore, IResourceStore)
Declaration
public ConsentModel(IIdentityServerInteractionService interaction, IClientStore clientStore, IResourceStore resourceStore)
Parameters
| Type |
Name |
Description |
| IIdentityServerInteractionService |
interaction |
|
| IClientStore |
clientStore |
|
| IResourceStore |
resourceStore |
|
Properties
ClientInfo
Declaration
public ConsentModel.ClientInfoModel ClientInfo { get; set; }
Property Value
ConsentInput
Declaration
public ConsentModel.ConsentInputModel ConsentInput { get; set; }
Property Value
ReturnUrl
Declaration
public string ReturnUrl { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ReturnUrlHash
Declaration
public string ReturnUrlHash { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
CreateScopeViewModel(IdentityResource, Boolean)
Declaration
protected virtual ConsentModel.ScopeViewModel CreateScopeViewModel(IdentityResource identity, bool check)
Parameters
| Type |
Name |
Description |
| IdentityResource |
identity |
|
| System.Boolean |
check |
|
Returns
CreateScopeViewModel(Scope, Boolean)
Declaration
protected virtual ConsentModel.ScopeViewModel CreateScopeViewModel(Scope scope, bool check)
Parameters
| Type |
Name |
Description |
| Scope |
scope |
|
| System.Boolean |
check |
|
Returns
GetOfflineAccessScope(Boolean)
Declaration
protected virtual ConsentModel.ScopeViewModel GetOfflineAccessScope(bool check)
Parameters
| Type |
Name |
Description |
| System.Boolean |
check |
|
Returns
OnGet()
Declaration
public virtual Task<IActionResult> OnGet()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<IActionResult> |
|
OnPost(String)
Declaration
public virtual Task<IActionResult> OnPost(string userDecision)
Parameters
| Type |
Name |
Description |
| System.String |
userDecision |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<IActionResult> |
|
ProcessConsentAsync()
Declaration
protected virtual Task<ConsentModel.ProcessConsentResult> ProcessConsentAsync()
Returns
Extension Methods