/// <summary> /// Initializes a new instance of the <see cref="NamedBehaviorAuthorizer"/> class. /// </summary> /// <param name="licenseContainer">The license container.</param> /// <param name="authMapContainer">The auth map container.</param> /// <param name="clock">The clock.</param> public NamedBehaviorAuthorizer(ILicenseContainer licenseContainer, IAuthorizationMapContainer authMapContainer, IClock clock) { _licenseContainer = licenseContainer; _authMapContainer = authMapContainer; _clock = clock; }
/// <summary> /// Initializes a new instance of the <see cref="ControlTypeAuthorizer"/> class. /// </summary> /// <param name="licenseContainer">The license container.</param> /// <param name="authMapContainer">The auth map container.</param> public ControlTypeAuthorizer(ILicenseContainer licenseContainer, IAuthorizationMapContainer authMapContainer) : this(licenseContainer, authMapContainer, new SystemClock()) { }
/// <summary> /// Initializes a new instance of the <see cref="NamedBehaviorAuthorizer"/> class. /// </summary> /// <param name="licenseContainer">The license container.</param> /// <param name="authMapContainer">The auth map container.</param> public NamedBehaviorAuthorizer(ILicenseContainer licenseContainer, IAuthorizationMapContainer authMapContainer) : this(licenseContainer, authMapContainer, new SystemClock()) { }
/// <summary> /// Initializes a new instance of the <see cref="ControlTypeAuthorizer"/> class. /// </summary> /// <param name="licenseContainer">The license container.</param> /// <param name="authMapContainer">The auth map container.</param> /// <param name="clock">The clock.</param> public ControlTypeAuthorizer(ILicenseContainer licenseContainer, IAuthorizationMapContainer authMapContainer, IClock clock) { _licenseContainer = licenseContainer; _authMapContainer = authMapContainer; _clock = clock; }