Skip to content

ITransientGrantor interface

namespace: Serenity.Abstractions   assemblySerenity.Net.Core

Defines a permission service that supports temporarily granting permissions.

public interface ITransientGrantor

Members

name description
GetGranted() Gets the permissions that were granted via Grant.
Grant(…) Temporarily grants the specified permissions.
GrantAll() Temporarily grants all permissions.
IsAllGranted() Determines whether all permissions are currently granted via GrantAll.
UndoGrant() Reverts the most recent Grant or GrantAll operation.

See Also