aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor Class Reference

Synchronously executes provided SecurityChecks. More...

Inheritance diagram for AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor:
AeroGear.Mobile.Security.Executors.AbstractSecurityCheckExecutor

Public Member Functions

 SyncSecurityCheckExecutor (List< ISecurityCheck > checks, MetricsService metricsService)
 Initializes a new instance of the T:AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor class. More...
 
Dictionary< string, SecurityCheckResultExecute ()
 Executes the provided checks and returns the results. Blocks until all checks are executed. More...
 
- Public Member Functions inherited from AeroGear.Mobile.Security.Executors.AbstractSecurityCheckExecutor
 AbstractSecurityCheckExecutor (List< ISecurityCheck > checks, MetricsService metricsService)
 Initializes a new instance of the T:AeroGear.Mobile.Security.Executors.AbstractSecurityCheckExecutor class. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AeroGear.Mobile.Security.Executors.AbstractSecurityCheckExecutor
void OnCheckExecuted (SecurityCheckResult result)
 Invoked after every check execution. More...
 
void OnCheckExecutionFinished ()
 Invoked after all checks have been executed. More...
 
- Protected Attributes inherited from AeroGear.Mobile.Security.Executors.AbstractSecurityCheckExecutor
readonly List< ISecurityCheckchecks = new List<ISecurityCheck>()
 

Detailed Description

Synchronously executes provided SecurityChecks.

Constructor & Destructor Documentation

◆ SyncSecurityCheckExecutor()

AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor.SyncSecurityCheckExecutor ( List< ISecurityCheck checks,
MetricsService  metricsService 
)

Initializes a new instance of the T:AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor class.

Parameters
checksList of checks to be executed.

Member Function Documentation

◆ Execute()

Dictionary<string, SecurityCheckResult> AeroGear.Mobile.Security.Executors.Sync.SyncSecurityCheckExecutor.Execute ( )

Executes the provided checks and returns the results. Blocks until all checks are executed.

Returns
A Dictionary containing the results of each executed test. The key of the Dictionary will be the output of SecurityCheck.getId(), while the value will be the SecurityCheckResult of the check.

The documentation for this class was generated from the following file: