Skip to content

Rename plugin options to be consistent across the hapi ecosystem#236

Merged
devinivy merged 1 commit intohapijs:v12from
spridev:naming
Mar 29, 2022
Merged

Rename plugin options to be consistent across the hapi ecosystem#236
devinivy merged 1 commit intohapijs:v12from
spridev:naming

Conversation

@spridev
Copy link
Copy Markdown
Contributor

@spridev spridev commented Feb 11, 2021

The hapi ecosystem offers the following official authentication plugins:

  • basic: uses validate and isValid (reference)
  • jwt: uses validate and isValid (reference)
  • cookie: uses validateFunc and valid (reference)
  • bell: does not use a validation function

This merge request aims to make these options consistent across all plugins.

@devinivy devinivy added the breaking changes Change that can breaking existing code label Feb 12, 2021
@devinivy devinivy added this to the 12.0.0 milestone Mar 29, 2022
@devinivy devinivy changed the base branch from master to v12 March 29, 2022 02:06
@devinivy
Copy link
Copy Markdown
Member

This is going into a branch for v12. Thanks!

@devinivy devinivy merged commit 9dcbb16 into hapijs:v12 Mar 29, 2022
@spridev spridev deleted the naming branch March 29, 2022 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking changes Change that can breaking existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants