Module Values_0.AuthResultSource

The authorizer result.

Sourcetype nonrec t = {
  1. authInfo : AuthInfo.t option;
    (*

    Authorization information.

    *)
  2. allowed : Allowed.t option;
    (*

    The policies and statements that allowed the specified action.

    *)
  3. denied : Denied.t option;
    (*

    The policies and statements that denied the specified action.

    *)
  4. authDecision : AuthDecision.t option;
    (*

    The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

    *)
  5. missingContextValues : MissingContextValues.t option;
    (*

    Contains any missing context values found while evaluating policy.

    *)
}
Sourceval make : ?authInfo:??? -> ?allowed:??? -> ?denied:??? -> ?authDecision:??? -> ?missingContextValues:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of MissingContextValue.t ] list | `Structure of (string * [> `Enum of string | `List of [> `String of Resource.t | `Structure of (string * [> `String of PolicyName.t ]) list ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of PolicyName.t ]) list ] list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t