Very Valid Tokens
by in CodeSOD on 2026-10-01Today's anonymous submitter shares with us the function their company uses to validate authentication tokens.
public bool IsTokenValid(string token)
{
//TODO
return true;
}
Code Snippet Of the Day (CodeSOD) features interesting and usually incorrect code snippets taken from actual production code in a commercial and/or open source software projects.