C# Class Aurora.Services.WebAPIHandler

Inheritance: IService, IWebAPIHandler
Show file Open project: aurora-sim/Aurora-WebAPI Class Usage Examples

Protected Properties

Property Type Description
AdminAgentID UUID
m_GridInfo OSDMap
m_registry IRegistryCore

Public Methods

Method Description
APIMethods ( ) : List>.Dictionary
AllowAPICall ( string method, Aurora.Framework.Servers.HttpServer.OSHttpRequest request, Aurora.Framework.Servers.HttpServer.OSHttpResponse response ) : bool
FinishedStartup ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
OnHTTPGetTextureImage ( Hashtable keysvals ) : Hashtable
Start ( IConfigSource config, IRegistryCore registry ) : void
WebAPIHandler ( ) : System
doAPICall ( Aurora.Framework.Servers.HttpServer.BaseRequestHandler caller, string path, Stream requestData, Aurora.Framework.Servers.HttpServer.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]

Private Methods

Method Description
AbuseReportMarkComplete ( OSDMap map ) : OSDMap
AbuseReportSaveNotes ( OSDMap map ) : OSDMap
ActivateAccount ( OSDMap map ) : OSDMap
AddGroupAsNewsSource ( string cmd ) : void
AddGroupNotice ( OSDMap map ) : OSDMap
AdminLogin ( OSDMap map ) : OSDMap
Authenticated ( OSDMap map ) : OSDMap
BanUser ( OSDMap map ) : OSDMap
ChangeName ( OSDMap map ) : OSDMap
ChangePassword ( OSDMap map ) : OSDMap
CheckIfUserExists ( OSDMap map ) : OSDMap
ClearLog ( string cmd ) : void
ConfirmUserEmailName ( OSDMap map ) : OSDMap
CreateAccount ( OSDMap map ) : OSDMap
CreateEvent ( OSDMap map ) : OSDMap
DeleteUser ( OSDMap map ) : OSDMap
DemoteUser ( string cmd ) : void
EditGroupNotice ( OSDMap map, UUID requestingAgentID ) : OSDMap
EditUser ( OSDMap map ) : OSDMap
EstateSettings2WebOSD ( Aurora.Framework.EstateSettings ES ) : OSDMap
FindUsers ( OSDMap map ) : OSDMap
ForgotPassword ( OSDMap map ) : OSDMap
GetAbuseReport ( OSDMap map ) : OSDMap
GetAbuseReports ( OSDMap map ) : OSDMap
GetAccessToken ( string cmd ) : void
GetAvatarArchives ( OSDMap map ) : OSDMap
GetEncoderInfo ( String mimeType ) : System.Drawing.Imaging.ImageCodecInfo
GetEstate ( OSDMap map ) : OSDMap
GetEstates ( OSDMap map ) : OSDMap
GetEvents ( OSDMap map ) : OSDMap
GetFriends ( OSDMap map ) : OSDMap
GetGridUserInfo ( OSDMap map ) : OSDMap
GetGroup ( OSDMap map, UUID requestingAgentID ) : OSDMap
GetGroupNotice ( OSDMap map, UUID requestingAgentID ) : OSDMap
GetGroups ( OSDMap map, UUID requestingAgentID ) : OSDMap
GetNewAccessToken ( string cmd ) : void
GetNewsSources ( OSDMap map, UUID requestingAgentID ) : OSDMap
GetParcel ( OSDMap map ) : OSDMap
GetParcelsByRegion ( OSDMap map ) : OSDMap
GetParcelsWithNameByRegion ( OSDMap map ) : OSDMap
GetProfile ( OSDMap map ) : OSDMap
GetRegion ( OSDMap map ) : OSDMap
GetRegionNeighbours ( OSDMap map ) : OSDMap
GetRegions ( OSDMap map ) : OSDMap
GetRegionsByXY ( OSDMap map ) : OSDMap
GetRegionsInArea ( OSDMap map ) : OSDMap
GetRegionsInEstate ( OSDMap map ) : OSDMap
GetUsageRate ( string cmd ) : void
GrantAPIAccess ( string cmd ) : void
GridRegion2WebOSD ( GridRegion region ) : OSDMap
GroupAsNewsSource ( OSDMap map ) : OSDMap
GroupNotices ( OSDMap map, UUID requestingAgentID ) : OSDMap
GroupRecord2OSDMap ( Aurora.Framework.GroupRecord group ) : OSDMap
LandData2WebOSD ( Aurora.Framework.LandData parcel ) : OSDMap
ListAPImethods ( string cmd ) : void
Login ( OSDMap map ) : OSDMap
NewsFromGroupNotices ( OSDMap map, UUID requestingAgentID ) : OSDMap
NumberOfRecentlyOnlineUsers ( OSDMap map ) : OSDMap
OnlineStatus ( OSDMap map ) : OSDMap
PromoteUser ( string cmd ) : void
RecentlyOnlineUsers ( OSDMap map ) : OSDMap
RemoveGroupAsNewsSource ( string cmd ) : void
RemoveGroupNotice ( OSDMap map, UUID requestingAgentID ) : OSDMap
ResetAPIAccess ( string cmd ) : void
ResetAvatar ( OSDMap map ) : OSDMap
ResizeBitmap ( Image b, int nWidth, int nHeight ) : Bitmap
RevokeAPIAccess ( string cmd ) : void
SaveEmail ( OSDMap map ) : OSDMap
SetHomeLocation ( OSDMap map ) : OSDMap
SetWebLoginKey ( OSDMap map ) : OSDMap
SizeOfHTTPGetTextureImage ( OSDMap map ) : OSDMap
TempBanUser ( OSDMap map ) : OSDMap
UnBanUser ( OSDMap map ) : OSDMap
UserAccount2InfoWebOSD ( UserAccount user ) : OSDMap
UserInfo2InfoWebOSD ( OpenSim.Services.Interfaces.UserInfo userinfo ) : OSDMap
authUser ( Aurora.Framework.Servers.HttpServer.OSHttpRequest request ) : UUID
authorizationHeader ( Aurora.Framework.Servers.HttpServer.OSHttpRequest request ) : string>.Dictionary
doBan ( UUID agentID, System.DateTime until ) : void
doLogin ( OSDMap map, bool asAdmin ) : OSDMap
get_grid_info ( OSDMap map ) : OSDMap

Method Details

APIMethods() public method

public APIMethods ( ) : List>.Dictionary
return List>.Dictionary

AllowAPICall() public method

public AllowAPICall ( string method, Aurora.Framework.Servers.HttpServer.OSHttpRequest request, Aurora.Framework.Servers.HttpServer.OSHttpResponse response ) : bool
method string
request Aurora.Framework.Servers.HttpServer.OSHttpRequest
response Aurora.Framework.Servers.HttpServer.OSHttpResponse
return bool

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

OnHTTPGetTextureImage() public method

public OnHTTPGetTextureImage ( Hashtable keysvals ) : Hashtable
keysvals System.Collections.Hashtable
return System.Collections.Hashtable

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

WebAPIHandler() public method

public WebAPIHandler ( ) : System
return System

doAPICall() public method

public doAPICall ( Aurora.Framework.Servers.HttpServer.BaseRequestHandler caller, string path, Stream requestData, Aurora.Framework.Servers.HttpServer.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
caller Aurora.Framework.Servers.HttpServer.BaseRequestHandler
path string
requestData Stream
httpRequest Aurora.Framework.Servers.HttpServer.OSHttpRequest
httpResponse Aurora.Framework.Servers.HttpServer.OSHttpResponse
return byte[]

Property Details

AdminAgentID protected property

protected UUID AdminAgentID
return UUID

m_GridInfo protected property

protected OSDMap m_GridInfo
return OSDMap

m_registry protected property

protected IRegistryCore m_registry
return IRegistryCore