C# Class PurgarNET.AAConnector.Console.ConfigHandler

Inheritance: PurgarNET.AAConnector.Shared.HandlerBase, INotifyPropertyChanged
Afficher le fichier Open project: jurepurgar/aa-scsm-connector

Méthodes publiques

Méthode Description
AssureAzureAdAppAndPrincipal ( GraphClient cl, System.Guid tenantId ) : Task
AssureConfigManagementPack ( ) : ManagementPack
CommitSettings ( ) : void
ConfigHandler ( ) : Microsoft.EnterpriseManagement
Connect ( AutomationAccountInfo accountInfo, System.TimeSpan credValidity ) : Task
Disconnect ( ) : System.Threading.Tasks.Task
Initialize ( Microsoft emg ) : void
Initialize ( string serverName = null ) : void
RefreshAccounts ( ) : System.Threading.Tasks.Task
RefreshSettings ( ) : void
RenewServiceCredential ( System.TimeSpan credValidity ) : System.Threading.Tasks.Task
ValidityToTimeSpan ( string validity ) : System.TimeSpan

Private Methods

Méthode Description
NotifyPropertyChanged ( string propName ) : void
RandomString ( int length = 30 ) : string
RemoveServiceCredential ( GraphClient cl, ManagementPack configMp ) : System.Threading.Tasks.Task
RenewServiceCredential ( GraphClient cl, ManagementPack configMp, AdApplication app, System.TimeSpan credValidity ) : System.Threading.Tasks.Task
ShowError ( Exception e ) : void
client_AuthorizationCodeRequired ( object sender, Shared e ) : void

Method Details

AssureAzureAdAppAndPrincipal() public méthode

public AssureAzureAdAppAndPrincipal ( GraphClient cl, System.Guid tenantId ) : Task
cl PurgarNET.AAConnector.Shared.ConfigClient.GraphClient
tenantId System.Guid
Résultat Task

AssureConfigManagementPack() public méthode

public AssureConfigManagementPack ( ) : ManagementPack
Résultat ManagementPack

CommitSettings() public méthode

public CommitSettings ( ) : void
Résultat void

ConfigHandler() public méthode

public ConfigHandler ( ) : Microsoft.EnterpriseManagement
Résultat Microsoft.EnterpriseManagement

Connect() public méthode

public Connect ( AutomationAccountInfo accountInfo, System.TimeSpan credValidity ) : Task
accountInfo AutomationAccountInfo
credValidity System.TimeSpan
Résultat Task

Disconnect() public méthode

public Disconnect ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Initialize() public méthode

public Initialize ( Microsoft emg ) : void
emg Microsoft
Résultat void

Initialize() public méthode

public Initialize ( string serverName = null ) : void
serverName string
Résultat void

RefreshAccounts() public méthode

public RefreshAccounts ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

RefreshSettings() public méthode

public RefreshSettings ( ) : void
Résultat void

RenewServiceCredential() public méthode

public RenewServiceCredential ( System.TimeSpan credValidity ) : System.Threading.Tasks.Task
credValidity System.TimeSpan
Résultat System.Threading.Tasks.Task

ValidityToTimeSpan() public static méthode

public static ValidityToTimeSpan ( string validity ) : System.TimeSpan
validity string
Résultat System.TimeSpan