Interface IAuthorizationScopeService
Interface for authorization scope service.
Namespace: Kephas.Security.Authorization
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IAuthorizationScopeService
Methods
| Improve this Doc View SourceGetAuthorizationScopeAsync(IContext, CancellationToken)
Gets the authorization scope asynchronously.
Declaration
Task<object> GetAuthorizationScopeAsync(IContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IContext | context | The context. |
System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> | An asynchronous result that yields the authorization scope. |