Libraryless. Click here for Pure Java version (2775L/17K).
static File googleClientSecretFileForDomain(S domain) { if (!isSimpleDomainName(domain)) null; ret firstThat(listFiles(javaxSecretDir(domain)), f -> startsWith(fileName(f), "client_secret") && endsWith(fileName(f), ".json")); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028964 |
| Snippet name: | googleClientSecretFileForDomain |
| Eternal ID of this version: | #1028964/4 |
| Text MD5: | 9211e10b54bad338504c6ee1e4eabb18 |
| Transpilation MD5: | 65d24b2ab15e627152d4b2b9f6ca904d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-09-04 17:24:44 |
| Source code size: | 239 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 500 / 639 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |