Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.ObjectSyntax
Summary
A convention-based operation authorizer.Constructors
.ctor
Initializes a new instance of the ConventionBasedOperationAuthorizer class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
targetApiType | System.Type | The target type to check for authorizer functions. |
.ctor Inherited
Inherited from
objectSyntax
Methods
AuthorizeAsync
Syntax
Parameters
| Name | Type | Description |
|---|---|---|
context | Microsoft.Restier.Core.Operation.OperationContext | - |
cancellationToken | System.Threading.CancellationToken | - |
Returns
Type:System.Threading.Tasks.Task<bool>
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- Microsoft.Restier.Core.Operation.IOperationAuthorizer