@@ -79,7 +79,6 @@ import {
79
79
createKindeServerClient ,
80
80
GrantType ,
81
81
type ACClientOptions ,
82
- type ACClient ,
83
82
} from " @kinde-oss/kinde-typescript-sdk" ;
84
83
85
84
const clientOptions: ACClientOptions = {
@@ -90,7 +89,7 @@ const clientOptions: ACClientOptions = {
90
89
redirectURL: process .env .KINDE_REDIRECT_URL
91
90
};
92
91
93
- const client = createKindeServerClient < ACClient , ACClientOptions > (
92
+ const client = createKindeServerClient (
94
93
GrantType .AUTHORIZATION_CODE , clientOptions
95
94
);
96
95
```
@@ -101,7 +100,6 @@ import {
101
100
createKindeServerClient ,
102
101
GrantType ,
103
102
type PKCEClientOptions ,
104
- type ACClient ,
105
103
} from " @kinde-oss/kinde-typescript-sdk" ;
106
104
107
105
const clientOptions: PKCEClientOptions = {
@@ -111,7 +109,7 @@ const clientOptions: PKCEClientOptions = {
111
109
redirectURL: process .env .KINDE_REDIRECT_URL
112
110
};
113
111
114
- const client = createKindeServerClient < ACClient , PKCEClientOptions > (
112
+ const client = createKindeServerClient (
115
113
GrantType .PKCE , clientOptions
116
114
);
117
115
```
@@ -122,7 +120,6 @@ import {
122
120
createKindeServerClient ,
123
121
GrantType ,
124
122
type CCClientOptions ,
125
- type CCClient ,
126
123
} from " @kinde-oss/kinde-typescript-sdk" ;
127
124
128
125
const clientOptions: CCClientOptions = {
@@ -132,7 +129,7 @@ const clientOptions: CCClientOptions = {
132
129
logoutRedirectURL: process .env .KINDE_LOGOUT_REDIRECT_URL
133
130
};
134
131
135
- const client = createKindeServerClient < CCClient , CCClientOptions > (
132
+ const client = createKindeServerClient (
136
133
GrantType .CLIENT_CREDENTIALS , clientOptions
137
134
)
138
135
```
@@ -181,7 +178,6 @@ import {
181
178
createKindeServerClient ,
182
179
GrantType ,
183
180
type ACClientOptions ,
184
- type ACClient ,
185
181
} from " @kinde-oss/kinde-typescript-sdk" ;
186
182
187
183
const clientOptions: ACClientOptions = {
@@ -194,7 +190,7 @@ const clientOptions: ACClientOptions = {
194
190
audience: ' api.example.com/v1'
195
191
};
196
192
197
- const client = createKindeServerClient < ACClient , ACClientOptions > (
193
+ const client = createKindeServerClient (
198
194
GrantType .AUTHORIZATION_CODE , clientOptions
199
195
);
200
196
```
@@ -230,7 +226,6 @@ import {
230
226
createKindeServerClient ,
231
227
GrantType ,
232
228
type ACClientOptions ,
233
- type ACClient ,
234
229
} from " @kinde-oss/kinde-typescript-sdk" ;
235
230
236
231
const clientOptions: ACClientOptions = {
@@ -243,7 +238,7 @@ const clientOptions: ACClientOptions = {
243
238
framework: ' ExpressJS'
244
239
};
245
240
246
- const client = createKindeServerClient < ACClient , ACClientOptions > (
241
+ const client = createKindeServerClient (
247
242
GrantType .AUTHORIZATION_CODE , clientOptions
248
243
);
249
244
```
0 commit comments