/// <summary>
 /// Initializes a new instance of the <see cref="T:CustomerPortal.Facade.Facades.AuthenticationFacade"/> class.
 /// </summary>
 /// <param name="settingsFacade">Settings facade.</param>
 public AuthenticationFacade(ISettingsFacade settingsFacade, IAuthenticationApiWrapper authApi, ILogApiWrapper logApi,
                             IAuthenticationHelperWrapper authenticationHelperWrapper, IKeychainService keychainService)
 {
     this.settingsFacade  = settingsFacade;
     this.keychainService = keychainService;
     _authApi             = authApi;
     _logApi = logApi;
     _authenticationHelperWrapper = authenticationHelperWrapper;
 }
Пример #2
0
 /// <summary>Initializes a new instance of the <see cref="StoryFacade"/> class.</summary>
 /// <param name="storyApi">The story API.</param>
 /// <param name="authWrapper">The authentication wrapper.</param>
 public StoryFacade(IStoryApiWrapper storyApi, IAuthenticationHelperWrapper authWrapper)
 {
     this.storyApi    = storyApi;
     this.authWrapper = authWrapper;
 }
Пример #3
0
 /// <summary>Initializes a new instance of the <see cref="AccountFacade"/> class.</summary>
 /// <param name="accountApi">The account api.</param>
 /// <param name="authenticationHelperWrapper">The authentication helper wrapper.</param>
 public AccountFacade(IAccountApiWrapper accountApi, IAuthenticationHelperWrapper authenticationHelperWrapper)
 {
     this._accountApi  = accountApi;
     this._authWrapper = authenticationHelperWrapper;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PropertyFacade"/> class.
 /// Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 ///     Initializes a new instance of the
 ///     <see cref="PropertyFacade"/>
 ///     class.
 /// </summary>
 /// <param name="propertyApi">
 /// The property API.
 /// </param>
 /// <param name="authenticationHelperWrapper">
 /// The authentication helper wrapper.
 /// </param>
 public PropertyFacade(IPropertyApiWrapper propertyApi, IAuthenticationHelperWrapper authenticationHelperWrapper)
 {
     this.propertyApi           = propertyApi;
     this.authenticationWrapper = authenticationHelperWrapper;
 }