Update OAuth2 property names to camelCase #85
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update OAuth2 Property Names to camelCase
What is being fixed - and why?
Description of problem/issue:
The OAuth2 property names were previously using snake_case, which is inconsistent with JavaScript naming conventions that prefer camelCase. This inconsistency can cause confusion and make the codebase harder to maintain.
Statement of why it needs fixing:
To maintain code consistency and adhere to JavaScript best practices, it's important that property names follow the camelCase convention. This update will improve code readability and maintainability.
What has changed?
Summary of changes and how they resolve the issue:
This commit updates the OAuth2 property names to use camelCase instead of snake_case. The changes include:
Affected properties:
grant_type
->grantType
access_token_url
->accessTokenUrl
authorization_endpoint
->authorizationEndpoint
redirect_uri
->redirectUri
open_authentication
->openAuthentication
client_id
->clientId
client_secret
->clientSecret
client_credentials_in_body
->clientCredentialsInBody
Additional updates:
By making these changes, the codebase will now follow a consistent naming convention, improving overall readability and maintainability.