You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #7065 Fix Authenticator Class (getCredentials) example (thtroyer)
This PR was submitted for the 3.1 branch but it was merged into the 2.8 branch instead (closes#7065).
Discussion
----------
Fix Authenticator Class (getCredentials) example
The current wording surrounding the getCredentials is misleading. Returning null does stop authentication, but it causes authentication to be successful. The example implies that X-AUTH-TOKEN is required and should be correct. For this behavior, either an AuthenticationException should be thrown or the credential variables should be initialized as empty and passed on to getUser().
Commits
-------
52d56f4 Fix Authenticator Class (getCredentials) example
0 commit comments