EqTrivialAuthProvider class

Represents a trivial implementation of Korzh.EasyQuery.Services.IEqAuthProvider which authorize any user for any action

public class Korzh.EasyQuery.Services.EqTrivialAuthProvider
    : IEqAuthProvider

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
EqTrivialAuthProvider() void

Methods

Name Type Description
IsAuthorizedAsync(EasyQueryManager eqManager, string action) Task<bool> Determines whether the current user can get access to the the specified action.