Values.AttributeValueThe value of an attribute. Contains information about the runtime context for a request for which an authorization decision is made. This data type is used as a member of the ContextDefinition structure which is used as a request parameter for the IsAuthorized, BatchIsAuthorized, and IsAuthorizedWithToken operations.
type nonrec t = {boolean : BooleanAttribute.t option;An attribute value of Boolean type. Example: {"boolean": true}
*)entityIdentifier : EntityIdentifier.t option;An attribute value of type EntityIdentifier. Example: {"entityIdentifier": { "entityId": "alice", "entityType": "User"} }
*)long : LongAttribute.t option;An attribute value of Long type. Example: {"long": 0}
*)string : StringAttribute.t option;An attribute value of String type. Example: {"string": "abc"}
*)set : SetAttribute.t option;An attribute value of Set type. Example: {"set": [ {} ] }
*)record : RecordAttribute.t option;An attribute value of Record type. Example: {"record": { "keyName": {} } }
*)ipaddr : IpAddr.t option;An attribute value of ipaddr type. Example: {"ip": "192.168.1.100"}
*)decimal : Decimal.t option;An attribute value of decimal type. Example: {"decimal": "1.1"}
*)datetime : DatetimeAttribute.t option;An attribute value of datetime type. Example: {"datetime": "2024-10-15T11:35:00Z"}
*)duration : Duration.t option;An attribute value of duration type. Example: {"duration": "1h30m"}
*)}val make :
?boolean:BooleanAttribute.t ->
?entityIdentifier:EntityIdentifier.t ->
?long:LongAttribute.t ->
?string:StringAttribute.t ->
?set:SetAttribute.t ->
?record:RecordAttribute.t ->
?ipaddr:IpAddr.t ->
?decimal:Decimal.t ->
?datetime:DatetimeAttribute.t ->
?duration:Duration.t ->
unit ->
t