Class WebServiceTwoStepAuthentication
2-step authentication using a token.
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class WebServiceTwoStepAuthentication : WebServiceAuthentication, ICloneable, IWebServiceRequestSettings
Constructors
WebServiceTwoStepAuthentication()
Declaration
public WebServiceTwoStepAuthentication()
Properties
Body
The body of the login HTTP request. Applicable only for POST HTTP request method.
Declaration
public string Body { get; set; }
Property Value
System.String
|
LoginMethod
Specifies the HTTP request method to be used.
Declaration
public WebServiceRequestMethod LoginMethod { get; set; }
Property Value
WebServiceRequestMethod
|
LoginUrl
This URL generates the authentication token or session key that allows you to access the API. Required.
Declaration
public string LoginUrl { get; set; }
Property Value
System.String
|
LogoutMethod
Specifies the HTTP request method to be used .
Declaration
public WebServiceRequestMethod LogoutMethod { get; set; }
Property Value
WebServiceRequestMethod
|
LogoutUrl
This is used if the resource features a lockout for having too many sessions open.
Declaration
public string LogoutUrl { get; set; }
Property Value
System.String
|
Parameters
The parameters of the HTTP request to be applied.
Declaration
public WebServiceParameterCollection Parameters { get; set; }
Property Value
WebServiceParameterCollection
|
ResponseFormat
The expected data format of the response.
Declaration
public WebServiceResponseFormat ResponseFormat { get; set; }
Property Value
WebServiceResponseFormat
|
TokenPath
This is a regular expression that allows us to retrieve the authentication or session key from the response received via the LoginUrl.
Declaration
public string TokenPath { get; set; }
Property Value
System.String
|