chore(authenticate): remove deprecated authenticate:login and credentials field (#1534)

* chore(authenticate): remove deprecated authenticate:login

* Update changelog
This commit is contained in:
Louis Ruch authored and GitHub committed 2021-09-17 18:23:24 -07:00
1 parent 7c32d25dd8
commit 6000f20ae5
17 files changed
+267 -971

No files matched your search

-66
View File
@@ -365,40 +365,6 @@
]
}
},
"/v1/auth-methods/{auth_method_id}:authenticate:login": {
"post": {
"summary": "Deprecated: Use Authenticate instead",
"operationId": "AuthMethodService_AuthenticateLogin",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"description": "The ID of the Auth Method in the system that should be used for authentication.",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AuthenticateLoginRequest"
}
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
}
},
"/v1/auth-methods/{id}": {
"get": {
"summary": "Gets a single Auth Method.",
@@ -5019,34 +4985,6 @@
}
}
},
"controller.api.services.v1.AuthenticateLoginRequest": {
"type": "object",
"properties": {
"auth_method_id": {
"type": "string",
"description": "The ID of the Auth Method in the system that should be used for authentication."
},
"token_type": {
"type": "string",
"description": "This can be \"cookie\" or \"token\". If not provided, \"token\" will be used. \"cookie\" activates a split-cookie method where the token is split partially between http-only and regular cookies in order\nto keep it safe from rogue JS in the browser."
},
"credentials": {
"type": "object",
"description": "Credentials are passed to the Auth Method; the valid keys and values depend on the type of Auth Method."
}
}
},
"controller.api.services.v1.AuthenticateLoginResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
},
"token_type": {
"type": "string"
}
}
},
"controller.api.services.v1.AuthenticateRequest": {
"type": "object",
"properties": {
@@ -5058,10 +4996,6 @@
"type": "string",
"description": "This can be \"cookie\" or \"token\". If not provided, \"token\" will be used. \"cookie\" activates a split-cookie method where the token is split partially between http-only and regular cookies in order\nto keep it safe from rogue JS in the browser."
},
"credentials": {
"type": "object",
"description": "Deprecated; use \"attributes\" instead."
},
"attributes": {
"type": "object",
"description": "Attributes are passed to the Auth Method; the valid keys and values depend on the type of Auth Method as well as the command."