There is a method called getPrincipal() in the Authentication interface that can be used after the authentication is completed in order to get the current user object. What is the return type of this method?
Getting authenticated user details
Return type
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.