Class OpenIddictQuartzBuilder
Exposes the necessary methods required to configure the OpenIddict Quartz.NET integration.
Inheritance
System.Object
OpenIddictQuartzBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictQuartzBuilder
Constructors
OpenIddictQuartzBuilder(IServiceCollection)
Initializes a new instance of OpenIddictQuartzBuilder.
Declaration
public OpenIddictQuartzBuilder(IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The services collection. |
Methods
Configure(Action<OpenIddictQuartzOptions>)
Amends the default OpenIddict Quartz.NET configuration.
Declaration
public OpenIddictQuartzBuilder Configure(Action<OpenIddictQuartzOptions> configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<OpenIddictQuartzOptions> | configuration | The delegate used to configure the OpenIddict options. |
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |
Remarks
This extension can be safely called multiple times.
DisableAuthorizationPruning()
Disables authorizations pruning.
Declaration
public OpenIddictQuartzBuilder DisableAuthorizationPruning()
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |
DisableTokenPruning()
Disables tokens pruning.
Declaration
public OpenIddictQuartzBuilder DisableTokenPruning()
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |
SetMaximumRefireCount(Int32)
Sets the number of times a failed Quartz.NET job can be retried.
Declaration
public OpenIddictQuartzBuilder SetMaximumRefireCount(int count)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | count | The number of times a failed Quartz.NET job can be retried. |
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |
SetMinimumAuthorizationLifespan(TimeSpan)
Sets the minimum lifespan authorizations must have to be pruned.
Declaration
public OpenIddictQuartzBuilder SetMinimumAuthorizationLifespan(TimeSpan lifespan)
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | lifespan | The minimum lifespan authorizations must have to be pruned. |
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |
SetMinimumTokenLifespan(TimeSpan)
Sets the minimum lifespan tokens must have to be pruned.
Declaration
public OpenIddictQuartzBuilder SetMinimumTokenLifespan(TimeSpan lifespan)
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | lifespan | The minimum lifespan tokens must have to be pruned. |
Returns
| Type | Description |
|---|---|
| OpenIddictQuartzBuilder |