C# Class LoginRadiusSDK.Entity.LoginRadiusEntityBase

LoginRadius entity class that is used as common entity to methods, it describes for the hhtp method, headers which is used in the GET and POST methods. The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers.
Mostrar archivo Open project: LoginRadius/dot-net-sdk

Private Properties

Property Type Description
GetEndpoint string
LoginRadiusEntityBase System.Configuration

Public Methods

Method Description
Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object ) : string

The GET method sends the encoded user information appended to the page request.

Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object, string accept ) : string

The GET method sends the encoded user information appended to the page request with specified headers.

Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, string json ) : string

The POST method transfers information via HTTP headers. The information is encoded as described in case of GET method and put into a header called QUERY_STRING.

Protected Methods

Method Description
Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter parameter ) : string
LoginRadiusEntityBase ( ) : System.Configuration

LoginRadius Api and Secret key.

Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter @params ) : string
Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, HttpRequestParameter postParams ) : string
Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, string postParams ) : string

Private Methods

Method Description
GetEndpoint ( string api ) : string
LoginRadiusEntityBase ( LoginRadiusSDK.Entity.UserRegistrationAuthentication authentication ) : System.Configuration

Method Details

Get() public method

The GET method sends the encoded user information appended to the page request.
public Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
return string

Get() protected method

protected Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter parameter ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
parameter HttpRequestParameter
return string

Get() public method

The GET method sends the encoded user information appended to the page request with specified headers.
public Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object, string accept ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
accept string Headers which is to be send in HTTP GET request.
return string

LoginRadiusEntityBase() protected method

LoginRadius Api and Secret key.
protected LoginRadiusEntityBase ( ) : System.Configuration
return System.Configuration

Post() protected method

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter @params ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
@params HttpRequestParameter
return string

Post() protected method

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, HttpRequestParameter postParams ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
getParams HttpRequestParameter
postParams HttpRequestParameter
return string

Post() protected method

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, string postParams ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
getParams HttpRequestParameter
postParams string
return string

Post() public method

The POST method transfers information via HTTP headers. The information is encoded as described in case of GET method and put into a header called QUERY_STRING.
public Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, string json ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
json string
return string