public AppRoleSampleManager(AppRoleHelper appRoleHelper)
        {
            _AppRoleHelper     = appRoleHelper;
            IsAppRoleRetrieved = false;
            IsAppRoleSet       = false;

            _sharedFrameworkReader = new SharedFrameworkReader(appRoleHelper.GatewayTokenUri);
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            _authority        = ConfigurationManager.AppSettings["Authority"];
            _clientIdentifier = ConfigurationManager.AppSettings["ClientIdentifier"];
            _scope            = ConfigurationManager.AppSettings["Scope"];
            _gatewayTokenUri  = ConfigurationManager.AppSettings["GatewayTokenUri"];

            _sharedFrameworkReader = new SharedFrameworkReader(_gatewayTokenUri);
        }