6
6
import com .svix .models .AppPortalAccessIn ;
7
7
import com .svix .models .AppPortalAccessOut ;
8
8
import com .svix .models .ApplicationTokenExpireIn ;
9
- import com .svix .models .DashboardAccessOut ;
10
9
11
10
import okhttp3 .Headers ;
12
11
import okhttp3 .HttpUrl ;
@@ -84,28 +83,19 @@ public void expireAll(
84
83
}
85
84
86
85
/**
87
- * DEPRECATED: Please use `app-portal-access` instead.
88
- *
89
- * <p>Use this function to get magic links (and authentication codes) for connecting your users
90
- * to the Consumer Application Portal.
91
- *
92
- * @deprecated
86
+ * @deprecated Please use appPortalAccess instead.
93
87
*/
94
88
@ Deprecated
95
- public DashboardAccessOut dashboardAccess (final String appId ) throws IOException , ApiException {
89
+ public com .svix .models .DashboardAccessOut dashboardAccess (final String appId )
90
+ throws IOException , ApiException {
96
91
return this .dashboardAccess (appId , new AuthenticationDashboardAccessOptions ());
97
92
}
98
93
99
94
/**
100
- * DEPRECATED: Please use `app-portal-access` instead.
101
- *
102
- * <p>Use this function to get magic links (and authentication codes) for connecting your users
103
- * to the Consumer Application Portal.
104
- *
105
- * @deprecated
95
+ * @deprecated Please use appPortalAccess instead.
106
96
*/
107
97
@ Deprecated
108
- public DashboardAccessOut dashboardAccess (
98
+ public com . svix . models . DashboardAccessOut dashboardAccess (
109
99
final String appId , final AuthenticationDashboardAccessOptions options )
110
100
throws IOException , ApiException {
111
101
HttpUrl .Builder url =
@@ -117,7 +107,11 @@ public DashboardAccessOut dashboardAccess(
117
107
headers .put ("idempotency-key" , options .idempotencyKey );
118
108
}
119
109
return this .client .executeRequest (
120
- "POST" , url .build (), Headers .of (headers ), null , DashboardAccessOut .class );
110
+ "POST" ,
111
+ url .build (),
112
+ Headers .of (headers ),
113
+ null ,
114
+ com .svix .models .DashboardAccessOut .class );
121
115
}
122
116
123
117
/**
0 commit comments