Not logged in : Login
(Sponging disallowed)

About: EntryPoint - user_register     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:EntryPoint, within Data Space : idehen.net associated with source document(s)
QRcode icon
http://idehen.net/describe/?url=http%3A%2F%2Fkingsley.idehen.net%2FDAV%2FVAD%2Fwa%2FAPI_user.ttl%23action_user.register

ODS allows to register new accounts in several ways, ranging from simple a username/password combination to registration through an existing Twitter account. Some registration methods such as the registration via OAuth or OpenID requires more than one step. This function is used for classicaly username/password registration. Other registration methods like WebID, OpenID, or any OAuth-based service are supported through the register action in user.authenticate.authenticationUrl() and user.authenticate.webid().For security reasons it is highly recommended to perform any registration calls through a secure connection.Registration via username and password is as easy as calling user.register() with the name, password, and email parameters filled. If the name is not in use yet and the email address is either unique or ODS has been configured to allow non-unique email addresses, then a new user account will be created which can immediately be used for ODS Authentication.Post RegistrationODS accounts which have not beed created with a classical password have a random password which can be changed later on via user.password.change() to enable classical Password Hash Authentication. In addition any of the supported registration and authentication methods can be added to an existing account at any time through the user.update() or user.update.fields() functions. name The user name for the new account. password The password for the new account. email The email address for the new account. mode deprecated data deprecated On success a new user session as detailed in Example User Session: is returned which can be used as described in Authentication via Session Id. On error an appropriate HTTP status code is set and an error message as detailed in ODS Error Result Codes is returned. Authentication via OAuth Example: $ curl -i "http://kingsley.idehen.net/ods/api/user.register?name=test123&password=1&email=test@yahoo.com" HTTP/1.1 200 OK Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64 VDB Connection: Keep-Alive Date: Mon, 28 Dec 2009 22:18:59 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="ISO-8859-1" Content-Length: 59 1de236f5da2f32d92e8c0cce5053a96e test123 132 1 0 AuthenticationThis function does not require any authentication.

AttributesValues
type
Description
  • ODS allows to register new accounts in several ways, ranging from simple a username/password combination to registration through an existing Twitter account. Some registration methods such as the registration via OAuth or OpenID requires more than one step. This function is used for classicaly username/password registration. Other registration methods like WebID, OpenID, or any OAuth-based service are supported through the register action in user.authenticate.authenticationUrl() and user.authenticate.webid().

    For security reasons it is highly recommended to perform any registration calls through a secure connection.

    Registration via username and password is as easy as calling user.register() with the name, password, and email parameters filled. If the name is not in use yet and the email address is either unique or ODS has been configured to allow non-unique email addresses, then a new user account will be created which can immediately be used for ODS Authentication.

    Post Registration

    ODS accounts which have not beed created with a classical password have a random password which can be changed later on via user.password.change() to enable classical Password Hash Authentication. In addition any of the supported registration and authentication methods can be added to an existing account at any time through the user.update() or user.update.fields() functions.

  • name

    The user name for the new account.

  • password

    The password for the new account.

  • email

    The email address for the new account.

  • mode

    deprecated

  • data

    deprecated

On success a new user session as detailed in Example User Session: is returned which can be used as described in Authentication via Session Id. On error an appropriate HTTP status code is set and an error message as detailed in ODS Error Result Codes is returned.

Authentication via OAuth

Example:
 $ curl -i "http://kingsley.idehen.net/ods/api/user.register?name=test123&password=1&email=test@yahoo.com"

 HTTP/1.1 200 OK
 Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64  VDB
 Connection: Keep-Alive
 Date: Mon, 28 Dec 2009 22:18:59 GMT
 Accept-Ranges: bytes
 Content-Type: text/xml; charset="ISO-8859-1"
 Content-Length: 59

 <userSession>
   <sid>1de236f5da2f32d92e8c0cce5053a96e</sid>
   <user>
     <uname>test123</uname>
     <uid>132</uid>
     <new>1</new>
     <dba>0</dba>
   </user>
 </userSession>
 

Authentication

This function does not require any authentication.

name
  • EntryPoint - user_register
url
contentType
  • text/xml
httpMethod
  • GET
isWebServiceOf
oplwebservices:endPointURL
hasParameter
schema:shortDescription
  • Register a new user account.

is target of
Faceted Search & Find service v1.17_git142 as of May 17 2024


Alternative Linked Data Documents: PivotViewer | iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3331 as of May 21 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory, 6 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software