C# Class Aurora.Services.WebAPIHandler

Inheritance: IService, IWebAPIHandler
Afficher le fichier Open project: aurora-sim/Aurora-WebAPI Class Usage Examples

Protected Properties

Свойство Type Description
AdminAgentID UUID
m_GridInfo OSDMap
m_registry IRegistryCore

Méthodes publiques

Méthode 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

Méthode 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 méthode

public APIMethods ( ) : List>.Dictionary
Résultat List>.Dictionary

AllowAPICall() public méthode

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
Résultat bool

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

OnHTTPGetTextureImage() public méthode

public OnHTTPGetTextureImage ( Hashtable keysvals ) : Hashtable
keysvals System.Collections.Hashtable
Résultat System.Collections.Hashtable

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

WebAPIHandler() public méthode

public WebAPIHandler ( ) : System
Résultat System

doAPICall() public méthode

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
Résultat byte[]

Property Details

AdminAgentID protected_oe property

protected UUID AdminAgentID
Résultat UUID

m_GridInfo protected_oe property

protected OSDMap m_GridInfo
Résultat OSDMap

m_registry protected_oe property

protected IRegistryCore m_registry
Résultat IRegistryCore