Table of Contents

Class UserInteractionOptions

Namespace
Duende.IdentityServer.Configuration
Assembly
Duende.IdentityServer.dll

Options for aspects of the user interface.

public class UserInteractionOptions
Inheritance
UserInteractionOptions
Inherited Members

Constructors

UserInteractionOptions()

public UserInteractionOptions()

Properties

AllowOriginInReturnUrl

Flag that allows return URL validation to accept full URL that includes the IdentityServer origin. Defaults to false.

public bool AllowOriginInReturnUrl { get; set; }

Property Value

bool

ConsentReturnUrlParameter

Gets or sets the consent return URL parameter.

public string ConsentReturnUrlParameter { get; set; }

Property Value

string

The consent return URL parameter.

ConsentUrl

Gets or sets the consent URL. If a local URL, the value must start with a leading slash.

public string ConsentUrl { get; set; }

Property Value

string

The consent URL.

CookieMessageThreshold

Gets or sets the cookie message threshold. This limits how many cookies are created, and older ones will be purged.

public int CookieMessageThreshold { get; set; }

Property Value

int

The cookie message threshold.

CreateAccountReturnUrlParameter

Gets or sets the create account (or register) return URL parameter.

public string CreateAccountReturnUrlParameter { get; set; }

Property Value

string

The create account return URL parameter.

CreateAccountUrl

Gets or sets the create account (or register) URL, for use with the OIDC prompt parameter. If a local URL, the value must start with a leading slash.

public string? CreateAccountUrl { get; set; }

Property Value

string

The create account URL.

CustomRedirectReturnUrlParameter

Gets or sets the custom redirect return URL parameter.

public string CustomRedirectReturnUrlParameter { get; set; }

Property Value

string

The custom redirect return URL parameter.

DeviceVerificationUrl

Gets or sets the device verification URL. If a local URL, the value must start with a leading slash.

public string DeviceVerificationUrl { get; set; }

Property Value

string

The device verification URL.

DeviceVerificationUserCodeParameter

Gets or sets the device verification user code parameter.

public string DeviceVerificationUserCodeParameter { get; set; }

Property Value

string

The device verification user code parameter.

ErrorIdParameter

Gets or sets the error identifier parameter.

public string ErrorIdParameter { get; set; }

Property Value

string

The error identifier parameter.

ErrorUrl

Gets or sets the error URL. If a local URL, the value must start with a leading slash.

public string ErrorUrl { get; set; }

Property Value

string

The error URL.

LoginReturnUrlParameter

Gets or sets the login return URL parameter.

public string? LoginReturnUrlParameter { get; set; }

Property Value

string

The login return URL parameter.

LoginUrl

Gets or sets the login URL. If a local URL, the value must start with a leading slash.

public string? LoginUrl { get; set; }

Property Value

string

The login URL.

LogoutIdParameter

Gets or sets the logout identifier parameter.

public string LogoutIdParameter { get; set; }

Property Value

string

The logout identifier parameter.

LogoutUrl

Gets or sets the logout URL. If a local URL, the value must start with a leading slash.

public string? LogoutUrl { get; set; }

Property Value

string

The logout URL.