Class
TwoStepAuthentication

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class TwoStepAuthentication : WebServiceAuthentication

Inheritance: objectWebServiceAuthenticationTwoStepAuthentication

Derived Classes: WebServiceTwoStepAuthentication

Inherited Members WebServiceAuthentication.UsernameWebServiceAuthentication.Password

Constructors

TwoStepAuthentication()

Declaration

cs-api-definition
public TwoStepAuthentication()

Properties

Body

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

Declaration

cs-api-definition
public string Body { get; set; }

Property Value

string

LoginMethod

Specifies the HTTP request method to be used.

Declaration

cs-api-definition
public virtual 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

cs-api-definition
public string LoginUrl { get; set; }

Property Value

string

LogoutMethod

Specifies the HTTP request method to be used .

Declaration

cs-api-definition
public virtual WebServiceRequestMethod LogoutMethod { get; set; }

Property Value

WebServiceRequestMethod

LogoutUrl

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

Declaration

cs-api-definition
public string LogoutUrl { get; set; }

Property Value

string

ResponseFormat

The expected data format of the response.

Declaration

cs-api-definition
public virtual 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 WebServiceTwoStepAuthentication.LoginUrl.

Declaration

cs-api-definition
public string TokenPath { get; set; }

Property Value

string