Skip to main content

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

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
EqTrivialAuthProvider()void

Methods

NameTypeDescription
IsAuthorizedAsync(EasyQueryManager eqManager, string action, CancellationToken ct = null)Task<bool>Determines whether the current user can get access to the the specified action.