private void InitAccountClient() { var accountStsUrl = GetAccountStsUrl(); Client = new AccountSTSClient(accountStsUrl + "/Api", accountStsUrl, FederatedAuthentication.WSFederationAuthenticationModule.Realm); Client.SetHmacSettings(ReadHmacSettings(Consts.AccountHmacSettingsPrefix)); }
protected ControllerBase(IClient client) { Client = client; }