@@ -43,12 +43,12 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
43
43
* @throws {RequiredError }
44
44
*/
45
45
oAuthAuthorize : (
46
- responseType : string ,
47
- clientId : string ,
48
- redirectUri : string ,
49
- state ?: string ,
50
- codeChallenge ?: string ,
51
- codeChallengeMethod ?: string ,
46
+ responseType : string ,
47
+ clientId : string ,
48
+ redirectUri : string ,
49
+ state ?: string ,
50
+ codeChallenge ?: string ,
51
+ codeChallengeMethod ?: "plain" | "S256" ,
52
52
options : any = { }
53
53
) : RequestArgs => {
54
54
// verify required parameter 'responseType' is not null or undefined
@@ -203,7 +203,7 @@ export interface AuthorizationApiGetAuthorizationUrlSearchParams {
203
203
* @type {string }
204
204
* @memberof AuthorizationApiGetAuthorizationUrlSearchParams
205
205
*/
206
- readonly codeChallengeMethod ?: string
206
+ readonly codeChallengeMethod ?: "plain" | "S256"
207
207
}
208
208
209
209
@@ -299,12 +299,12 @@ export class AuthorizationApi extends BaseAPI {
299
299
public getAuthorizationUrl ( searchParams : AuthorizationApiGetAuthorizationUrlSearchParams , options ?: any ) : string {
300
300
const paramCreator = AuthorizationApiAxiosParamCreator ( this . configuration ) ;
301
301
const params = paramCreator . oAuthAuthorize (
302
- "code" ,
303
- searchParams . clientId ,
304
- searchParams . redirectUri ,
305
- searchParams . state ,
306
- searchParams . codeChallenge ,
307
- searchParams . codeChallengeMethod ,
302
+ "code" ,
303
+ searchParams . clientId ,
304
+ searchParams . redirectUri ,
305
+ searchParams . state ,
306
+ searchParams . codeChallenge ,
307
+ searchParams . codeChallengeMethod ,
308
308
options
309
309
) ;
310
310
return this . axios . getUri ( {
0 commit comments