C# Класс 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.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetEndpoint string
LoginRadiusEntityBase System.Configuration

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
GetEndpoint ( string api ) : string
LoginRadiusEntityBase ( LoginRadiusSDK.Entity.UserRegistrationAuthentication authentication ) : System.Configuration

Описание методов

Get() публичный Метод

The GET method sends the encoded user information appended to the page request.
public Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
Результат string

Get() защищенный Метод

protected Get ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter parameter ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
parameter HttpRequestParameter
Результат string

Get() публичный Метод

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.
Результат string

LoginRadiusEntityBase() защищенный Метод

LoginRadius Api and Secret key.
protected LoginRadiusEntityBase ( ) : System.Configuration
Результат System.Configuration

Post() защищенный Метод

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter @params ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
@params HttpRequestParameter
Результат string

Post() защищенный Метод

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, HttpRequestParameter postParams ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
getParams HttpRequestParameter
postParams HttpRequestParameter
Результат string

Post() защищенный Метод

protected Post ( LoginRadiusSDK.Entity.LoginRadiusObject @object, HttpRequestParameter getParams, string postParams ) : string
@object LoginRadiusSDK.Entity.LoginRadiusObject
getParams HttpRequestParameter
postParams string
Результат string

Post() публичный Метод

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
Результат string