C# Class WhiteCore.Services.API.APIHandler

Inheritance: WhiteCore.Framework.Servers.HttpServer.BaseRequestHandler, IStreamedRequestHandler
Datei anzeigen Open project: WhiteCoreSim/WhiteCore-Dev

Public Methods

Method Description
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[]

Private Methods

Method Description
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

Method Details

APIHandler() public method

public APIHandler ( IRegistryCore registry, string method ) : System
registry IRegistryCore
method string
return System

AvatarImage() public method

public AvatarImage ( string uri ) : byte[]
uri string
return byte[]

GetImages() public method

public GetImages ( string parms ) : byte[]
parms string
return byte[]

Handle() public method

public Handle ( string path, System.Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request System.Stream
httpRequest OSHttpRequest
httpResponse OSHttpResponse
return byte[]

WebImage() public method

public WebImage ( string uri ) : byte[]
uri string
return byte[]