Skip to content

Commit

Permalink
Add authentication type to AuthenticateResponse (#5116)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
stevejgordon authored and github-actions[bot] committed Nov 26, 2020
1 parent a07c501 commit a199dc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
}

0 comments on commit a199dc7

Please sign in to comment.