authentication.py¶
-
GET
/auth/userpass/userpass
¶ - HTTP Success:
Example request:
GET /auth/userpass/userpass HTTP/1.1
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type:
Status Codes: - 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot authenticate to account %(account
- 500 Internal Server Error – e.__class__.__name__: e.args[0]
- 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot authenticate to account %(account
-
GET
/auth/x509/x509_proxy/x509/x509_proxy
¶ - HTTP Success:
Example request:
GET /auth/x509/x509_proxy/x509/x509_proxy HTTP/1.1
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type:
Status Codes: - 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot get DN’
- 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot authenticate to account %(account
- 401 Unauthorized – ‘CannotAuthenticate’: ‘No default account set for %(dn
- 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot authenticate to account %(account
-
GET
/auth/validate/validate
¶ - HTTP Success:
Example request:
GET /auth/validate/validate HTTP/1.1
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type:
Status Codes: - 401 Unauthorized – ‘CannotAuthenticate’: ‘Cannot authenticate to account %(account