This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { NbAuthModule, NbPasswordAuthStrategy } from '@nebular/auth'; | |
import { throwIfAlreadyLoaded } from './module-import-guard'; | |
import { DataModule } from './data/data.module'; | |
import { environment as env } from '../../environments/environment'; | |
import { HttpResponse } from '@angular/common/http'; | |
import { getDeepFromObject } from '@nebular/auth/helpers'; | |
import { AuthToken, AuthTokenFields } from './auth/token'; | |
import { NbRoleProvider, NbSecurityModule } from '@nebular/security'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; | |
import * as $ from 'jquery'; | |
import 'fullcalendar'; | |
import { OptionsInput } from 'fullcalendar'; | |
import { FullCalendarTranslationService } from '../../../@core/utils/full-calendar-translation.service'; | |
import { LangChangeEvent, TranslateService } from '@ngx-translate/core'; | |
import { deepExtend } from '@nebular/auth/helpers'; | |
const defaultOptions: OptionsInput = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; | |
import * as $ from 'jquery'; | |
import 'fullcalendar'; | |
import { OptionsInput } from 'fullcalendar'; | |
import { FullCalendarTranslationService } from '../../../@core/utils/full-calendar-translation.service'; | |
import { LangChangeEvent, TranslateService } from '@ngx-translate/core'; | |
import { deepExtend } from '@nebular/auth/helpers'; | |
const defaultOptions: OptionsInput = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license | |
* Copyright Akveo. All Rights Reserved. | |
* Licensed under the MIT License. See License.txt in the project root for license information. | |
*/ | |
import { Component, OnInit } from '@angular/core'; | |
import { AnalyticsService } from './@core/utils/analytics.service'; | |
import { TranslateService } from '@ngx-translate/core'; | |
@Component({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add accept all self signed certificates | |
add-type @" | |
using System.Net; | |
using System.Security.Cryptography.X509Certificates; | |
public class TrustAllCertsPolicy : ICertificatePolicy { | |
public bool CheckValidationResult( | |
ServicePoint srvPoint, X509Certificate certificate, | |
WebRequest request, int certificateProblem) { | |
return true; | |
} |