C# Класс WhiteCore.Services.API.APIHandler

Наследование: WhiteCore.Framework.Servers.HttpServer.BaseRequestHandler, IStreamedRequestHandler
Показать файл Открыть проект

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

Метод Описание
APIHandler ( IRegistryCore registry, string method ) : System
AvatarImage ( string uri ) : byte[]
GetImages ( string parms ) : byte[]
Handle ( string path, System.Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
WebImage ( string uri ) : byte[]

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

Метод Описание
AbuseReportMarkComplete ( OSDMap map ) : OSDMap
AbuseReportSaveNotes ( OSDMap map ) : OSDMap
ActivateAccount ( OSDMap map ) : OSDMap
Authenticated ( OSDMap map ) : OSDMap
BanUser ( OSDMap map ) : OSDMap
ChangeName ( OSDMap map ) : OSDMap

Changes user name

ChangePassword ( OSDMap map ) : OSDMap
CheckBan ( OSDMap map ) : OSDMap
CheckIfUserExists ( OSDMap map ) : OSDMap
ConfirmUserEmailName ( OSDMap map ) : OSDMap
CreateAccount ( OSDMap map ) : OSDMap
DeleteUser ( OSDMap map ) : OSDMap
EditUser ( OSDMap map ) : OSDMap
FindUsers ( OSDMap map ) : OSDMap
ForgotPassword ( OSDMap map ) : OSDMap
GetAbuseReports ( OSDMap map ) : OSDMap
GetAvatarArchives ( OSDMap map ) : OSDMap
GetClassifieds ( OSDMap map ) : OSDMap
GetEncoderInfo ( string mimeType ) : ImageCodecInfo
GetEvents ( OSDMap map ) : OSDMap
GetFriends ( OSDMap map ) : OSDMap
GetGridUserInfo ( OSDMap map ) : OSDMap

Gets user information for change user info page on site

GetGroup ( OSDMap map ) : OSDMap
GetGroups ( OSDMap map ) : OSDMap
GetParcel ( OSDMap map ) : OSDMap
GetParcelsByRegion ( OSDMap map ) : OSDMap
GetProfile ( OSDMap map ) : OSDMap
GetRegion ( OSDMap map ) : OSDMap
GetRegions ( OSDMap map ) : OSDMap
GridInfo ( string args ) : OSDMap

Grids info.

GridTexture ( string uri ) : byte[]
GridWideAlert ( OSDMap map ) : OSDMap
GroupAsNewsSource ( OSDMap map ) : OSDMap
GroupNotices ( OSDMap map ) : OSDMap
GroupRecord2OSDMap ( GroupRecord group ) : OSDMap
KickUser ( OSDMap map ) : OSDMap
LandData2WebOSD ( LandData parcel ) : OSDMap
Login ( OSDMap map, bool asAdmin ) : OSDMap
Login2 ( OSDMap map ) : OSDMap
MessageUser ( OSDMap map ) : OSDMap
NewsFromGroupNotices ( OSDMap map ) : OSDMap
OnlineStatus ( string args ) : OSDMap

Onlines status of the grid.

ResizeBitmap ( System.Image b, int nWidth, int nHeight ) : Bitmap
SaveEmail ( OSDMap map ) : OSDMap

After conformation the email is saved

SetUserLevel ( OSDMap map ) : OSDMap
SetWebLoginKey ( OSDMap map ) : OSDMap
TempBanUser ( OSDMap map ) : OSDMap
UnBanUser ( OSDMap map ) : OSDMap
VerifyAuthentication ( string reqKey, string authKey ) : bool
doBan ( UUID agentID, System.DateTime until ) : void

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

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

public APIHandler ( IRegistryCore registry, string method ) : System
registry IRegistryCore
method string
Результат System

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

public AvatarImage ( string uri ) : byte[]
uri string
Результат byte[]

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

public GetImages ( string parms ) : byte[]
parms string
Результат byte[]

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

public Handle ( string path, System.Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request System.Stream
httpRequest OSHttpRequest
httpResponse OSHttpResponse
Результат byte[]

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

public WebImage ( string uri ) : byte[]
uri string
Результат byte[]