Table of Contents

Class CibaModel.InputModel

Namespace
Fdyay.IdentityServer.UI.Pages
Assembly
Fdyay.IdentityServer.UI.dll

What the page's forms post.

public class CibaModel.InputModel
Inheritance
CibaModel.InputModel
Inherited Members

Properties

Button

The button that posted the form: yes to allow, anything else to deny, empty only to open the request.

public string Button { get; set; }

Property Value

string

Description

A name for this grant — "Kitchen tablet" — kept with it for the user's list of grants. Optional.

public string? Description { get; set; }

Property Value

string

Remarks

Duende's templates ask for it on this page. Kept to 200 characters, the SQL Server dialect's column for it.

Id

The request being answered.

public string? Id { get; set; }

Property Value

string

Remarks

The internal id, never the auth_req_id. The latter is the client's bearer credential for the tokens this request will produce, and a browser is the last place it should be.

ScopesConsented

The scope values whose boxes were ticked.

public IList<string> ScopesConsented { get; }

Property Value

IList<string>

Remarks

An unticked box posts nothing and a disabled one posts nothing either, so this is what the browser sent and not the grant. Selected(ResourceValidationResult, IEnumerable<string>) turns it into one.