示例#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();
 }