Skip to content

Policy API Reference

This page documents the programmatic API for the Astra Niyam ReBAC engine.

Schema Compiler

astraauth_policy.parser.SchemaParser

astraauth_policy.parser.SchemaDefinition

Bases: BaseModel

Check Solver Engine

astraauth_policy.engine.CheckEngine(store, schema)

Relation Tuples Storage

astraauth_policy.store.RelationTupleStore()

astraauth_policy.store.RelationTuple

Bases: BaseModel