Class OpaResponse
- Namespace
- Styra.Opa.AspNetCore
- Assembly
- Styra.Opa.AspNetCore.dll
public class OpaResponse
- Inheritance
-
OpaResponse
- Inherited Members
Fields
Context
[JsonProperty("context")]
public OpaResponseContext? Context
Field Value
Decision
[JsonProperty("decision")]
public bool Decision
Field Value
Methods
GetReasonForDecision(string)
Wraps OPAResponseContext.GetReasonForDecision(). If the context is omitted (which the spec permits), then it returns null.
public string? GetReasonForDecision(string searchKey)
Parameters
searchKey
string