@@ -43,12 +43,12 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
4343 * @throws {RequiredError }
4444 */
4545 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" ,
5252 options : any = { }
5353 ) : RequestArgs => {
5454 // verify required parameter 'responseType' is not null or undefined
@@ -203,7 +203,7 @@ export interface AuthorizationApiGetAuthorizationUrlSearchParams {
203203 * @type {string }
204204 * @memberof AuthorizationApiGetAuthorizationUrlSearchParams
205205 */
206- readonly codeChallengeMethod ?: string
206+ readonly codeChallengeMethod ?: "plain" | "S256"
207207}
208208
209209
@@ -299,12 +299,12 @@ export class AuthorizationApi extends BaseAPI {
299299 public getAuthorizationUrl ( searchParams : AuthorizationApiGetAuthorizationUrlSearchParams , options ?: any ) : string {
300300 const paramCreator = AuthorizationApiAxiosParamCreator ( this . configuration ) ;
301301 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 ,
308308 options
309309 ) ;
310310 return this . axios . getUri ( {
0 commit comments