Show / Hide Table of Contents

Interface ISyncAuthorizationService

Interface providing synchronous methods for the authorization service.

Namespace: Kephas.Security.Authorization
Assembly: Kephas.Core.dll
Syntax
public interface ISyncAuthorizationService

Methods

| Improve this Doc View Source

Authorize(IAuthorizationContext)

Query if the authorization context has the requested permission.

Declaration
bool Authorize(IAuthorizationContext context)
Parameters
Type Name Description
IAuthorizationContext context

The context.

Returns
Type Description
System.Boolean

True if permission is granted, false if not.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX