Method | Description | |
---|---|---|
BypassCertificateError ( ) : void |
Neglect the ssl handshake error with authentication server
|
Method | Description | |
---|---|---|
GetDeviceLocation_Click ( object sender, EventArgs e ) : void |
Event that will be triggered when the user clicks on GetPhoneLocation button This method calls GetDeviceLocation Api
|
|
Page_Load ( object sender, EventArgs e ) : void |
This function is called when the application page is loaded into the web browser. This function reads the web.config file and gets the values of the attributes
|
Method | Description | |
---|---|---|
DrawPanelForFailure ( Panel panelParam, string message ) : void |
Displays error message
|
|
DrawPanelForGetLocationResult ( string attribute, string value, bool headerFlag ) : void |
This method is used to draw table for successful response of get device locations
|
|
GetAccessToken ( AccessTokenType type ) : bool |
Get access token based on the type parameter type values.
|
|
GetAuthCode ( ) : void |
Redirects to authentication server to get the access code
|
|
GetDeviceLocation ( ) : void |
This method invokes Device Location API and displays the location
|
|
IsTokenValid ( ) : string |
This function validates access token related variables and returns VALID_ACCESS_TOKEN if it is valid otherwise, returns INVALID_ACCESS_TOKEN if refresh token expired or not able to read session variables return REFRESH_TOKEN, if access token in expired and refresh token is valid
|
|
ReadAndGetAccessToken ( ) : bool |
Reads from session variables and gets access token
|
|
ReadConfigFile ( ) : bool |
Read parameters from configuraton file
|
|
ReadTokenSessionVariables ( ) : void |
This function reads access token related session variables to local variables
|
|
ResetTokenSessionVariables ( ) : void |
This function resets access token related session variable to null
|
|
ResetTokenVariables ( ) : void |
This function resets access token related variable to null
|
public static BypassCertificateError ( ) : void | ||
return | void |
protected GetDeviceLocation_Click ( object sender, EventArgs e ) : void | ||
sender | object | object that caused this event |
e | EventArgs | Event that invoked this function |
return | void |
protected Page_Load ( object sender, EventArgs e ) : void | ||
sender | object | object that caused this event |
e | EventArgs | Event that invoked this function |
return | void |