From a199dc7b8f97ff179543cd13e1ba2999b967d89b Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Thu, 26 Nov 2020 10:42:51 +0000 Subject: [PATCH] Add authentication type to AuthenticateResponse (#5116) https://github.com/elastic/elasticsearch/pull/61247 added a new "authentication_type" field to the response of "GET _security/_authenticate". This commit adds this as a property of the `AuthenticateResponse` type. Contributes to meta issue #5096 --- src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs b/src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs index 21cdbdc13d0..bae70d2920c 100644 --- a/src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs +++ b/src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs @@ -41,5 +41,8 @@ public class AuthenticateResponse : ResponseBase [DataMember(Name = "lookup_realm")] public RealmInfo LookupRealm { get; internal set; } + + [DataMember(Name = "authentication_type")] + public string AuthenticationType { get; internal set; } } }