Verifying Tickets (CAS 1.0)
Function
This API is used by an application to verify tickets.
Constraints
null
URI
GET /api/v1/cas/validate
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
service |
Yes |
String |
URL for an application to receive tickets. The URL must be the same as the application callback URL in the CAS configuration. |
ticket |
Yes |
String |
Service ticket obtained during login authentication. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
- |
String |
Example Requests
Call the CAS 1.0 API to verify a ticket. Obtain the user attribute information by configuring parameters, including the application callback address (https://example.com), and authentication ticket (ST-eYlKs8FrLCltwRwfm8AiwCxmQ8gAL...) obtained by the login authentication API.
GET https://{domain_name}/api/v1/cas/validate?service=https://example.com&ticket=ST-eYlKs8FrLCltwRwfm8AiwCxmQ8gAL...
Example Responses
Status code: 200
Request successful.
{ "application/text" : "yes \"username\"" }
Status Codes
Status Code |
Description |
---|---|
200 |
Request successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot