예제 #1
0
 public ApiAuthorizeAttribute()
 {
     secretRepository = ServiceLocator.Current.GetInstance <IRepository <Application> >();
     hmacb            = new ABServiciosHmacBuilder();
 }
예제 #2
0
 public HmacAuthenticationHandler(IRepository <Application> secretRepository)
 {
     this.secretRepository = secretRepository;
     hmacb = new ABServiciosHmacBuilder();
 }