We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c8a0f commit 6bff3a4Copy full SHA for 6bff3a4
1 file changed
scribejava-apis/src/main/java/com/github/scribejava/apis/BoxApi20.java
@@ -0,0 +1,33 @@
1
+package com.github.scribejava.apis;
2
+
3
+import com.github.scribejava.core.builder.api.DefaultApi20;
4
5
+/**
6
+ * Box.com Api
7
+ */
8
+public class BoxApi20 extends DefaultApi20 {
9
10
11
+ protected BoxApi20() {
12
13
+ }
14
15
+ private static class InstanceHolder {
16
+ private static final BoxApi20 INSTANCE = new BoxApi20();
17
18
19
+ public static BoxApi20 instance() {
20
+ return InstanceHolder.INSTANCE;
21
22
23
+ @Override
24
+ public String getAccessTokenEndpoint() {
25
+ return "https://api.box.com/oauth2/token";
26
27
28
29
+ protected String getAuthorizationBaseUrl() {
30
+ return "https://account.box.com/api/oauth2/authorize";
31
32
33
+}
0 commit comments