Table of Contents

Class DeviceFlowInteractionResult

Namespace
Duende.IdentityServer.Models
Assembly
Duende.IdentityServer.dll

Request object for device flow interaction

public class DeviceFlowInteractionResult
Inheritance
DeviceFlowInteractionResult
Inherited Members

Constructors

DeviceFlowInteractionResult()

public DeviceFlowInteractionResult()

Properties

ErrorDescription

Gets or sets the error description.

public string? ErrorDescription { get; }

Property Value

string

The error description.

IsAccessDenied

Gets or sets a value indicating whether this instance is access denied.

public bool IsAccessDenied { get; set; }

Property Value

bool

true if this instance is access denied; otherwise, false.

IsError

Gets a value indicating whether this instance is error.

public bool IsError { get; }

Property Value

bool

true if this instance is error; otherwise, false.

Methods

Failure(string?)

Create failure result

public static DeviceFlowInteractionResult Failure(string? errorDescription = null)

Parameters

errorDescription string

The error description.

Returns

DeviceFlowInteractionResult