Table of Contents

Class ConsentScope

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

One scope, as a screen that asks a user to approve it shows it.

public sealed class ConsentScope
Inheritance
ConsentScope
Inherited Members

Properties

Description

The host's explanation of it, when it configured one.

public string? Description { get; init; }

Property Value

string

DisplayName

The host's name for it, when it configured one.

public string? DisplayName { get; init; }

Property Value

string

Emphasize

Whether the page highlights this scope.

public bool Emphasize { get; init; }

Property Value

bool

Label

What to call it: the configured name, or the scope value when the host named nothing.

public string Label { get; }

Property Value

string

Required

Whether the page shows this scope without letting it be toggled off.

public bool Required { get; init; }

Property Value

bool

Value

The scope value, which is what is granted and what the checkbox posts back.

public required string Value { get; init; }

Property Value

string