![]() |
Index of Web Scripts Family '/Authentication' |
Alfresco Community v3.2.0 (2039) |
4 Web Scripts |
Back to Web Scripts Home |
Up to family / |
GET /alfresco/service/api/login?u={username}&pw={password?} |
--- |
Login and establish a ticket. Input
Returns the new authentication ticket. |
--- |
Authentication: | none |
Transaction: | required |
Format Style: | any |
Default Format: | xml |
Lifecycle: | public_api |
Id: | org/alfresco/repository/login.get |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/login.get.desc.xml |
POST /alfresco/service/api/login |
--- |
Login and establish a ticket. Input JSON Data Object.
Returns the new authentication ticket. |
--- |
Authentication: | none |
Transaction: | required |
Format Style: | any |
Default Format: | json |
Lifecycle: | public_api |
Id: | org/alfresco/repository/login.post |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/login.post.desc.xml |
DELETE /alfresco/service/api/login/ticket/{ticket} |
--- |
Logout, Delete Login Ticket. After the user has logged out the ticket is no longer valid and subsequent attempts to use it will fail. |
--- |
Authentication: | user |
Transaction: | required |
Format Style: | any |
Default Format: | xml |
Lifecycle: | public_api |
Id: | org/alfresco/repository/loginticket.delete |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/loginticket.delete.desc.xml |
GET /alfresco/service/api/login/ticket/{ticket} |
--- |
Validates the specified ticket is still valid. The ticket may be invalid, or expired, or the user may have been locked out. For security reasons this script will not validate the ticket of another user.
|
--- |
Authentication: | user |
Transaction: | required |
Format Style: | any |
Default Format: | xml |
Lifecycle: | public_api |
Id: | org/alfresco/repository/loginticket.get |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/loginticket.get.desc.xml |