Skip to content

Commit 1ebbfb2

Browse files
author
Ed Fricker
committed
Ed: adding in nicer method to support PATs
1 parent f50c869 commit 1ebbfb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

intercom-java/src/main/java/io/intercom/api/Intercom.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ public static void setAppID(String appID) {
7676
Intercom.appID = appID;
7777
}
7878

79+
public static void setPersonalAccessToken(String personalAccessToken) {
80+
Intercom.appID = personalAccessToken;
81+
Intercom.apiKey = "";
82+
}
83+
7984
public static String getApiKey() {
8085
return Intercom.apiKey;
8186
}

0 commit comments

Comments
 (0)