Table of Contents

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 ContextParsingCall

The call.

Returns

ICheckParseAnswer

The check parse answer.

CheckParseEntities(EntitiesParsingCall)

Checks parsing a set of entities.

public static ICheckParseAnswer CheckParseEntities(EntitiesParsingCall call)

Parameters

call EntitiesParsingCall

The call.

Returns

ICheckParseAnswer

The check parse answer.

CheckParsePolicySet(PolicySet)

Checks parsing a policy set.

public static ICheckParseAnswer CheckParsePolicySet(PolicySet policySet)

Parameters

policySet PolicySet

The policy set.

Returns

ICheckParseAnswer

The check parse answer.

CheckParseSchema(Schema)

Checks parsing a schema.

public static ICheckParseAnswer CheckParseSchema(Schema schema)

Parameters

schema Schema

The schema.

Returns

ICheckParseAnswer

The check parse answer.

Format(FormattingCall)

Formats a policy.

public static IFormattingAnswer Format(FormattingCall call)

Parameters

call FormattingCall

The 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 AuthorizationCall

The authorization call.

Returns

IAuthorizationAnswer

The authorization answer.