New to Telerik ReportingStart a free 30-day trial

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class TwoStepAuthentication : WebServiceAuthentication

Inheritance: objectWebServiceAuthenticationTwoStepAuthentication

Derived Classes: WebServiceTwoStepAuthentication

Inherited Members WebServiceAuthentication.UsernameWebServiceAuthentication.Password

Constructors

C#
public TwoStepAuthentication()

Properties

Body

string

The body of the login HTTP request. Applicable only for POST HTTP request method.

C#
public string Body { get; set; }

Specifies the HTTP request method to be used.

C#
public virtual WebServiceRequestMethod LoginMethod { get; set; }

LoginUrl

string

This URL generates the authentication token or session key that allows you to access the API. Required.

C#
public string LoginUrl { get; set; }

Specifies the HTTP request method to be used .

C#
public virtual WebServiceRequestMethod LogoutMethod { get; set; }

LogoutUrl

string

This is used if the resource features a lockout for having too many sessions open.

C#
public string LogoutUrl { get; set; }

The expected data format of the response.

C#
public virtual WebServiceResponseFormat ResponseFormat { get; set; }

TokenPath

string

This is a regular expression that allows us to retrieve the authentication or session key from the response received via the WebServiceTwoStepAuthentication.LoginUrl.

C#
public string TokenPath { get; set; }