Multiple choice technology security

What is the return type of the getCSRFToken() method?

  1. Integer

  2. Byte

  3. String

  4. BigInteger

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

CSRF tokens are typically string-based identifiers passed in HTTP headers or form parameters. The getCSRFToken() method returns the token as a String for easy integration with web requests and security validation.