RemoteAdmin:admin authenticate user

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with " '''admin_authenticate_user''' remotely allows to authenticate an user remotely. This feature is part of the development branch, after the 0.7.6 OpenSim release. === Enabling a...")
 
m (Error messages)
Line 59: Line 59:
 
=== Error messages ===
 
=== Error messages ===
 
''error'' is set to "scene does not exist" in case no scene is available.
 
''error'' is set to "scene does not exist" in case no scene is available.
 +
 
''error'' is set to "avatar FIRSTNAME LASTNAME does not exist" in case the avatar with FIRSTNAME LASTNAME does not exist.
 
''error'' is set to "avatar FIRSTNAME LASTNAME does not exist" in case the avatar with FIRSTNAME LASTNAME does not exist.
 +
 
''error'' is set to "no password provided for FIRSTNAME LASTNAME" in case the call did not include a password for the avatar named FISTNAME LASTNAME.
 
''error'' is set to "no password provided for FIRSTNAME LASTNAME" in case the call did not include a password for the avatar named FISTNAME LASTNAME.
 +
 
''error'' is set to "no token lifetime provided for FISTNAME LASTNAME" if the ''token'' parameter has been omitted from the call.
 
''error'' is set to "no token lifetime provided for FISTNAME LASTNAME" if the ''token'' parameter has been omitted from the call.
 +
 
''error'' is set to "token lifetime longer than 30s for FISTNAME LASTNAME" in case the request asked for ''token_lifetime'' larger than 30.
 
''error'' is set to "token lifetime longer than 30s for FISTNAME LASTNAME" in case the request asked for ''token_lifetime'' larger than 30.
 +
 
''error'' is set to "no authentication module loaded" in case no authentication module could be loaded.
 
''error'' is set to "no authentication module loaded" in case no authentication module could be loaded.
 +
 
''error'' is set to "authentication failed for FIRSTNAME LASTNAME" in case the authentication failed for user FISTNAME LASTNAME.
 
''error'' is set to "authentication failed for FIRSTNAME LASTNAME" in case the authentication failed for user FISTNAME LASTNAME.
  
 
[[RemoteAdmin]]
 
[[RemoteAdmin]]
 
[[RemoteAdmin:Commands]]
 
[[RemoteAdmin:Commands]]

Revision as of 04:54, 22 November 2013

admin_authenticate_user remotely allows to authenticate an user remotely. This feature is part of the development branch, after the 0.7.6 OpenSim release.


Contents

Enabling admin_authenticate_user

If not all functions are enabled, use admin_authenticate_user to enable the function in the [RemoteAdmin] section

enabled_methods = admin_authenticate_user,...


Parameters

Required Parameters

These parameters are required

parameter Description Values
user_firstname first name of user
user_lastname last name of user
user_password and MD5 hash of the user's password
token_lifetime the lifetime of the authentication token (max: 30s)

Returned Parameters

Returned Parameters

These parameters are returned by Remote Admin

parameter Description Values
success true when successful true, false
error the error that occurred (ie: authentication failed messages)
token the authentication token


Error messages

error is set to "scene does not exist" in case no scene is available.

error is set to "avatar FIRSTNAME LASTNAME does not exist" in case the avatar with FIRSTNAME LASTNAME does not exist.

error is set to "no password provided for FIRSTNAME LASTNAME" in case the call did not include a password for the avatar named FISTNAME LASTNAME.

error is set to "no token lifetime provided for FISTNAME LASTNAME" if the token parameter has been omitted from the call.

error is set to "token lifetime longer than 30s for FISTNAME LASTNAME" in case the request asked for token_lifetime larger than 30.

error is set to "no authentication module loaded" in case no authentication module could be loaded.

error is set to "authentication failed for FIRSTNAME LASTNAME" in case the authentication failed for user FISTNAME LASTNAME.

RemoteAdmin RemoteAdmin:Commands

Personal tools
General
About This Wiki