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 SourceAuthorize(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. |