Webservice: Auth

authentication operations

Index Method Request(s) Response Description
1 login username
password
starts a new session; returns the session identifier(SID)
2 renew sid
renews an existing session
3 logout sid
closes a session
4 valid sid
checks if a SID is valid; returns true only if the session is valid

Method #1: login

starts a new session; returns the session identifier(SID)

Request

Name Type Required Multiple Description
     username
String Y
     password
String Y

Response

Name Type Required Multiple Description
    
String Y

Method #2: renew

renews an existing session

Request

Name Type Required Multiple Description
     sid
String Y the session identifier

Method #3: logout

closes a session

Request

Name Type Required Multiple Description
     sid
String Y the session identifier

Method #4: valid

checks if a SID is valid; returns true only if the session is valid

Request

Name Type Required Multiple Description
     sid
String Y the session identifier

Response

Name Type Required Multiple Description
    
Boolean Y