Skip to content

Check authentication type using enum instead of string (#54145)#54246

Merged
ywangd merged 1 commit intoelastic:7.xfrom
ywangd:es-52511-refactor-api-key-creator-realm-check-7.x
Mar 26, 2020
Merged

Check authentication type using enum instead of string (#54145)#54246
ywangd merged 1 commit intoelastic:7.xfrom
ywangd:es-52511-refactor-api-key-creator-realm-check-7.x

Conversation

@ywangd
Copy link
Copy Markdown
Member

@ywangd ywangd commented Mar 26, 2020

Avoid string comparison when we can use safter enums.
This refactor is a follow up for #52178.

Resolves: #52511

Avoid string comparison when we can use safter enums.
This refactor is a follow up for elastic#52178.

Resolves: elastic#52511
@ywangd ywangd merged commit 1afd510 into elastic:7.x Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant