MCPcopy Create free account
hub / github.com/jgraph/drawio / getConfig

Method getConfig

src/main/java/com/mxgraph/online/DropboxAuth.java:16–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 private static Config CONFIG = null;
15
16 protected Config getConfig()
17 {
18 if (CONFIG == null)
19 {
20 String clientSerets = SecretFacade.getSecret(CLIENT_SECRET_FILE_PATH, getServletContext()),
21 clientIds = SecretFacade.getSecret(CLIENT_ID_FILE_PATH, getServletContext());
22
23 CONFIG = new Config(clientIds, clientSerets);
24 CONFIG.AUTH_SERVICE_URL = "https://api.dropboxapi.com/oauth2/token";
25 CONFIG.REDIRECT_PATH = "/dropbox";
26 }
27
28 return CONFIG;
29 }
30
31 public DropboxAuth()
32 {

Callers

nothing calls this directly

Calls 1

getSecretMethod · 0.80

Tested by

no test coverage detected