public ApiAuthorizeAttribute() { secretRepository = ServiceLocator.Current.GetInstance <IRepository <Application> >(); hmacb = new ABServiciosHmacBuilder(); }
public HmacAuthenticationHandler(IRepository <Application> secretRepository) { this.secretRepository = secretRepository; hmacb = new ABServiciosHmacBuilder(); }