Class CedarFunctions
- Namespace
- CedarDotNet
- Assembly
- CedarDotNet.dll
The Cedar functions available through the main Cedar FFI.
public static class CedarFunctions
- Inheritance
-
CedarFunctions
- Inherited Members
Methods
CheckParseContext(ContextParsingCall)
Checks parsing context.
public static ICheckParseAnswer CheckParseContext(ContextParsingCall call)
Parameters
call
ContextParsingCallThe call.
Returns
- ICheckParseAnswer
The check parse answer.
CheckParseEntities(EntitiesParsingCall)
Checks parsing a set of entities.
public static ICheckParseAnswer CheckParseEntities(EntitiesParsingCall call)
Parameters
call
EntitiesParsingCallThe call.
Returns
- ICheckParseAnswer
The check parse answer.
CheckParsePolicySet(PolicySet)
Checks parsing a policy set.
public static ICheckParseAnswer CheckParsePolicySet(PolicySet policySet)
Parameters
policySet
PolicySetThe policy set.
Returns
- ICheckParseAnswer
The check parse answer.
CheckParseSchema(Schema)
Checks parsing a schema.
public static ICheckParseAnswer CheckParseSchema(Schema schema)
Parameters
schema
SchemaThe schema.
Returns
- ICheckParseAnswer
The check parse answer.
Format(FormattingCall)
Formats a policy.
public static IFormattingAnswer Format(FormattingCall call)
Parameters
call
FormattingCallThe formatting call.
Returns
- IFormattingAnswer
The formatting answer.
GetLangVersion()
Gets the language version.
public static string GetLangVersion()
Returns
- string
The language version.
GetSdkVersion()
Gets the SDK version.
public static string GetSdkVersion()
Returns
- string
The SDK version.
IsAuthorized(AuthorizationCall)
Evaluates an authorization query.
public static IAuthorizationAnswer IsAuthorized(AuthorizationCall call)
Parameters
call
AuthorizationCallThe authorization call.
Returns
- IAuthorizationAnswer
The authorization answer.