Skip to content

Instantly share code, notes, and snippets.

@soutaro
Last active January 16, 2019 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soutaro/0f8eb79a54cb2d11d3d85545a935703b to your computer and use it in GitHub Desktop.
Save soutaro/0f8eb79a54cb2d11d3d85545a935703b to your computer and use it in GitHub Desktop.
Introducing Phinder, oauthToken
- id: com.example.security.oauthToken
pattern: "_->oauthToken()"
message: |
OAuth token is a credential
Make sure not to expose the token value to users or logs.
Use `->filteredOAuthToken()` for obfuscated token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment