Revamp authenticate (#1025)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-03-24 16:07:43 -04:00
1 parent aa570f4e48
commit 6605b4c9f8
14 files changed
+276 -207

No files matched your search

+11 -3
View File
@@ -324,7 +324,7 @@
},
"/v1/auth-methods/{auth_method_id}:authenticate": {
"post": {
"summary": "Deprecated: Use AuthenticateLogin instead",
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"operationId": "AuthMethodService_Authenticate",
"responses": {
"200": {
@@ -358,7 +358,7 @@
},
"/v1/auth-methods/{auth_method_id}:authenticate:login": {
"post": {
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"summary": "Deprecated: Use Authenticate instead",
"operationId": "AuthMethodService_AuthenticateLogin",
"responses": {
"200": {
@@ -3809,7 +3809,15 @@
},
"credentials": {
"type": "object",
"description": "Credentials are passed to the Auth Method; the valid keys and values depend on the type of Auth Method."
"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."
},
"command": {
"type": "string",
"description": "The command to perform."
}
}
},