neroniaky / angular-token

:key: Token based authentication service for Angular with interceptor and multi-user support. Works best with devise token auth for Rails. Example:
https://stackblitz.com/github/neroniaky/angular-token
MIT License
370 stars 188 forks source link

Changing any `private` accessors to `protected` to enable customization by implementing projects #535

Open omboapp opened 3 years ago

omboapp commented 3 years ago

Changing any private accessors to protected, as we must not needlessly prevent inheritance or customization.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Private accessors for AngularTokenService & AngularTokenInterceptor cannot be modified or accessed by any inherited class, especially with the intention of extending their behavior.

Issue Number: N/A

What is the new behavior?

No functional change. Simply allowing for AngularTokenService & AngularTokenInterceptor to be used as super classes for any derived classes. Implementing projects can now add or modify member functions or properties.

Does this PR introduce a breaking change?