Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Authorization Inheritance: System.Object

Syntax

Summary

Describes the methods of verifying various CRUD operations for a given EF Entity. Useful in code generation scenarios

Constructors

.ctor

Creates a new instance of an AuthorizationEntry for a given AuthorizationEntry.Type. Assumes all authorization checks will return false by default.

Syntax

Parameters

.ctor

Creates a new instance of an AuthorizationEntry for a given AuthorizationEntry.Type while allowing you to specify the action to run when authorizing Inserts.

Syntax

Parameters

.ctor

Creates a new instance of an AuthorizationEntry for a given AuthorizationEntry.Type while allowing you to specify the actions to run when authorizing Inserts and Updates.

Syntax

Parameters

.ctor

Creates a new instance of an AuthorizationEntry for a given AuthorizationEntry.Type while allowing you to specify the actions to run when authorizing Inserts, Updates, and Deletes.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

CanDeleteAction

A Func`1 that evaluates to a Boolean specifying whether or not a record can be deleted through the Restier API. The default is false.

Syntax

Property Value

Type: System.Func<bool>

CanInsertAction

A Func`1 that evaluates to a Boolean specifying whether or not a record can be inserted through the Restier API. The default is false.

Syntax

Property Value

Type: System.Func<bool>

CanUpdateAction

A Func`1 that evaluates to a Boolean specifying whether or not a record can be updated through the Restier API. The default is false.

Syntax

Property Value

Type: System.Func<bool>

Type

The AuthorizationEntry.Type to register this AuthorizationEntry for in the AuthorizationFactoryAuthorizationFactory’s</see> backing Dictionary.

Syntax

Property Value

Type: System.Type

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?