Class CedarOptions
Configuration options for the Cedar HTTP authorization adapter.
public sealed class CedarOptions
- Inheritance
-
CedarOptions
- Inherited Members
Properties
Endpoint
Gets or sets the base URL of the Cedar agent or AVP endpoint.
[Required]
public string Endpoint { get; set; }
Property Value
- string
The Cedar endpoint URL.
FailClosed
Gets or sets a value indicating whether authorization should deny on Cedar errors (fail-closed).
public bool FailClosed { get; set; }
Property Value
Mode
Gets or sets the Cedar evaluation mode.
public CedarMode Mode { get; set; }
Property Value
PolicyStoreId
Gets or sets the policy store identifier. Required for AwsVerifiedPermissions.
public string? PolicyStoreId { get; set; }
Property Value
- string
The AVP policy store ID.
TimeoutMs
Gets or sets the HTTP request timeout in milliseconds.
[Range(100, 60000)]
public int TimeoutMs { get; set; }
Property Value
- int
The timeout in milliseconds. Defaults to 5000.