Which of the following methods is used to determine if a user is authenticated?

30. Which of the following methods is used to determine if a user is authenticated?

  1. session.isAuthenticated()
  2. ctx.isAuthenticated()
  3. app.isAuthenticated()
  4. obj.isAuthenticated()

Answer: B) ctx.isAuthenticated()

Explanation:

ctx.isAuthenticated() method is used to determine if a user is authenticated.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.