Skip to content

Commit a199dc7

Browse files
stevejgordongithub-actions[bot]
authored andcommitted
Add authentication type to AuthenticateResponse (#5116)
elastic/elasticsearch#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
1 parent a07c501 commit a199dc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs

+3
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@ public class AuthenticateResponse : ResponseBase
4141

4242
[DataMember(Name = "lookup_realm")]
4343
public RealmInfo LookupRealm { get; internal set; }
44+
45+
[DataMember(Name = "authentication_type")]
46+
public string AuthenticationType { get; internal set; }
4447
}
4548
}

0 commit comments

Comments
 (0)