Table of Contents

Class LoggingOptions

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

Options for configuring logging behavior

public class LoggingOptions
Inheritance
LoggingOptions
Inherited Members

Constructors

LoggingOptions()

public LoggingOptions()

Fields

UnhandledExceptionLoggingFilter

Called when the IdentityServer middleware detects an unhandled exception, and is used to determine if the exception is logged. Returns true to emit the log, false to suppress.

public Func<HttpContext, Exception, bool> UnhandledExceptionLoggingFilter

Field Value

Func<HttpContext, Exception, bool>

Properties

AuthorizeRequestSensitiveValuesFilter

Gets or sets the collection of keys that will be used to redact sensitive values from an authorize request log.

public ICollection<string> AuthorizeRequestSensitiveValuesFilter { get; set; }

Property Value

ICollection<string>

Remarks

Please be aware that initializing this property could expose sensitive information in your logs.

BackchannelAuthenticationRequestSensitiveValuesFilter

Gets or sets the collection of keys that will be used to redact sensitive values from a backchannel authentication request log.

public ICollection<string> BackchannelAuthenticationRequestSensitiveValuesFilter { get; set; }

Property Value

ICollection<string>

Remarks

Please be aware that initializing this property could expose sensitive information in your logs.

PushedAuthorizationSensitiveValuesFilter

Gets or sets the collection of keys that will be used to redact sensitive values from a pushed authorization request log.

public ICollection<string> PushedAuthorizationSensitiveValuesFilter { get; set; }

Property Value

ICollection<string>

Remarks

Please be aware that initializing this property could expose sensitive information in your logs.

TokenRequestSensitiveValuesFilter

Gets or sets the collection of keys that will be used to redact sensitive values from a token request log.

public ICollection<string> TokenRequestSensitiveValuesFilter { get; set; }

Property Value

ICollection<string>

Remarks

Please be aware that initializing this property could expose sensitive information in your logs.