Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1028964 - googleClientSecretFileForDomain

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2789L/18K).

static File googleClientSecretFileForDomain(S domain) {
  ret firstThat(listFiles(javaxSecretDir(assertSimpleDomainName(domain))),
    f -> startsWith(fileName(f), "client_secret") && endsWith(fileName(f), ".json"));
}

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028964
Snippet name: googleClientSecretFileForDomain
Eternal ID of this version: #1028964/3
Text MD5: b0ed73e64e72af1d3e8fc790efc89dfe
Transpilation MD5: 23880d9c6d62aa09413057f5974a0c4f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-14 17:21:24
Source code size: 221 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 13 / 41
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028964 & http://1028964.tinybrain.de