Skip to content

Commit

Permalink
Add authentication type to AuthenticateResponse (#5116) (#5125)
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

Co-authored-by: Steve Gordon <[email protected]>
  • Loading branch information
github-actions[bot] and stevejgordon authored Nov 30, 2020
1 parent 949b665 commit 3a3341b
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 3a3341b

Please sign in to comment.