@emilgroup/auth-sdk 1.5.1 → 1.10.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -2
- package/README.md +2 -2
- package/api/authservice-api.ts +29 -29
- package/api/default-api.ts +8 -4
- package/base.ts +1 -0
- package/dist/api/authservice-api.d.ts +23 -23
- package/dist/api/authservice-api.js +22 -22
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/base.js +1 -0
- package/dist/models/{get-samllogin-link-request-dto.d.ts → get-saml-login-link-request-dto.d.ts} +3 -3
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/{login-by-samlrequest-dto.d.ts → login-by-saml-request-dto.d.ts} +4 -4
- package/models/{get-samllogin-link-request-dto.ts → get-saml-login-link-request-dto.ts} +3 -3
- package/models/index.ts +2 -2
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/{login-by-samlrequest-dto.ts → login-by-saml-request-dto.ts} +4 -4
- package/package.json +1 -2
- /package/dist/models/{get-samllogin-link-request-dto.js → get-saml-login-link-request-dto.js} +0 -0
- /package/dist/models/{login-by-samlrequest-dto.js → login-by-saml-request-dto.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -16,11 +16,11 @@ models/create-user-request-dto.ts
|
|
|
16
16
|
models/create-user-response-class.ts
|
|
17
17
|
models/custom-schema-class.ts
|
|
18
18
|
models/forgot-password-request-dto.ts
|
|
19
|
-
models/get-
|
|
19
|
+
models/get-saml-login-link-request-dto.ts
|
|
20
20
|
models/index.ts
|
|
21
21
|
models/inline-response200.ts
|
|
22
22
|
models/inline-response503.ts
|
|
23
|
-
models/login-by-
|
|
23
|
+
models/login-by-saml-request-dto.ts
|
|
24
24
|
models/login-class.ts
|
|
25
25
|
models/login-request-dto.ts
|
|
26
26
|
models/logout-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/auth-sdk@1.
|
|
20
|
+
npm install @emilgroup/auth-sdk@1.10.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/auth-sdk@1.
|
|
24
|
+
yarn add @emilgroup/auth-sdk@1.10.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
package/api/authservice-api.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { CreateUserResponseClass } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { ForgotPasswordRequestDto } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
-
import {
|
|
34
|
+
import { LoginBySamlRequestDto } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { LoginClass } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
@@ -165,8 +165,8 @@ export const AuthserviceApiAxiosParamCreator = function (configuration?: Configu
|
|
|
165
165
|
};
|
|
166
166
|
},
|
|
167
167
|
/**
|
|
168
|
-
* Get
|
|
169
|
-
* @summary Get
|
|
168
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
169
|
+
* @summary Get SAML login link for tenant
|
|
170
170
|
* @param {string} tenantSlug
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
@@ -244,13 +244,13 @@ export const AuthserviceApiAxiosParamCreator = function (configuration?: Configu
|
|
|
244
244
|
/**
|
|
245
245
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
246
246
|
* @summary Login by SAML idp provider such as ADFS
|
|
247
|
-
* @param {
|
|
247
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
251
|
-
|
|
252
|
-
// verify required parameter '
|
|
253
|
-
assertParamExists('
|
|
251
|
+
loginBySaml: async (loginBySamlRequestDto: LoginBySamlRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
252
|
+
// verify required parameter 'loginBySamlRequestDto' is not null or undefined
|
|
253
|
+
assertParamExists('loginBySaml', 'loginBySamlRequestDto', loginBySamlRequestDto)
|
|
254
254
|
const localVarPath = `/authservice/v1/login/saml`;
|
|
255
255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
256
256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -272,7 +272,7 @@ export const AuthserviceApiAxiosParamCreator = function (configuration?: Configu
|
|
|
272
272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
274
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
275
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
275
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loginBySamlRequestDto, localVarRequestOptions, configuration)
|
|
276
276
|
|
|
277
277
|
return {
|
|
278
278
|
url: toPathString(localVarUrlObj),
|
|
@@ -559,8 +559,8 @@ export const AuthserviceApiFp = function(configuration?: Configuration) {
|
|
|
559
559
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
560
560
|
},
|
|
561
561
|
/**
|
|
562
|
-
* Get
|
|
563
|
-
* @summary Get
|
|
562
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
563
|
+
* @summary Get SAML login link for tenant
|
|
564
564
|
* @param {string} tenantSlug
|
|
565
565
|
* @param {*} [options] Override http request option.
|
|
566
566
|
* @throws {RequiredError}
|
|
@@ -583,12 +583,12 @@ export const AuthserviceApiFp = function(configuration?: Configuration) {
|
|
|
583
583
|
/**
|
|
584
584
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
585
585
|
* @summary Login by SAML idp provider such as ADFS
|
|
586
|
-
* @param {
|
|
586
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
588
588
|
* @throws {RequiredError}
|
|
589
589
|
*/
|
|
590
|
-
async
|
|
591
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
590
|
+
async loginBySaml(loginBySamlRequestDto: LoginBySamlRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginClass>> {
|
|
591
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loginBySaml(loginBySamlRequestDto, options);
|
|
592
592
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
593
593
|
},
|
|
594
594
|
/**
|
|
@@ -699,8 +699,8 @@ export const AuthserviceApiFactory = function (configuration?: Configuration, ba
|
|
|
699
699
|
return localVarFp.forgotPassword(forgotPasswordRequestDto, options).then((request) => request(axios, basePath));
|
|
700
700
|
},
|
|
701
701
|
/**
|
|
702
|
-
* Get
|
|
703
|
-
* @summary Get
|
|
702
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
703
|
+
* @summary Get SAML login link for tenant
|
|
704
704
|
* @param {string} tenantSlug
|
|
705
705
|
* @param {*} [options] Override http request option.
|
|
706
706
|
* @throws {RequiredError}
|
|
@@ -721,12 +721,12 @@ export const AuthserviceApiFactory = function (configuration?: Configuration, ba
|
|
|
721
721
|
/**
|
|
722
722
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
723
723
|
* @summary Login by SAML idp provider such as ADFS
|
|
724
|
-
* @param {
|
|
724
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
725
725
|
* @param {*} [options] Override http request option.
|
|
726
726
|
* @throws {RequiredError}
|
|
727
727
|
*/
|
|
728
|
-
|
|
729
|
-
return localVarFp.
|
|
728
|
+
loginBySaml(loginBySamlRequestDto: LoginBySamlRequestDto, options?: any): AxiosPromise<LoginClass> {
|
|
729
|
+
return localVarFp.loginBySaml(loginBySamlRequestDto, options).then((request) => request(axios, basePath));
|
|
730
730
|
},
|
|
731
731
|
/**
|
|
732
732
|
* Sign tenant user out.
|
|
@@ -863,17 +863,17 @@ export interface AuthserviceApiLoginRequest {
|
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
/**
|
|
866
|
-
* Request parameters for
|
|
866
|
+
* Request parameters for loginBySaml operation in AuthserviceApi.
|
|
867
867
|
* @export
|
|
868
|
-
* @interface
|
|
868
|
+
* @interface AuthserviceApiLoginBySamlRequest
|
|
869
869
|
*/
|
|
870
|
-
export interface
|
|
870
|
+
export interface AuthserviceApiLoginBySamlRequest {
|
|
871
871
|
/**
|
|
872
872
|
*
|
|
873
|
-
* @type {
|
|
874
|
-
* @memberof
|
|
873
|
+
* @type {LoginBySamlRequestDto}
|
|
874
|
+
* @memberof AuthserviceApiLoginBySaml
|
|
875
875
|
*/
|
|
876
|
-
readonly
|
|
876
|
+
readonly loginBySamlRequestDto: LoginBySamlRequestDto
|
|
877
877
|
}
|
|
878
878
|
|
|
879
879
|
/**
|
|
@@ -1011,8 +1011,8 @@ export class AuthserviceApi extends BaseAPI {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
/**
|
|
1014
|
-
* Get
|
|
1015
|
-
* @summary Get
|
|
1014
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
1015
|
+
* @summary Get SAML login link for tenant
|
|
1016
1016
|
* @param {AuthserviceApiGetSamlLoginLinkRequest} requestParameters Request parameters.
|
|
1017
1017
|
* @param {*} [options] Override http request option.
|
|
1018
1018
|
* @throws {RequiredError}
|
|
@@ -1037,13 +1037,13 @@ export class AuthserviceApi extends BaseAPI {
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
1039
1039
|
* @summary Login by SAML idp provider such as ADFS
|
|
1040
|
-
* @param {
|
|
1040
|
+
* @param {AuthserviceApiLoginBySamlRequest} requestParameters Request parameters.
|
|
1041
1041
|
* @param {*} [options] Override http request option.
|
|
1042
1042
|
* @throws {RequiredError}
|
|
1043
1043
|
* @memberof AuthserviceApi
|
|
1044
1044
|
*/
|
|
1045
|
-
public
|
|
1046
|
-
return AuthserviceApiFp(this.configuration).
|
|
1045
|
+
public loginBySaml(requestParameters: AuthserviceApiLoginBySamlRequest, options?: AxiosRequestConfig) {
|
|
1046
|
+
return AuthserviceApiFp(this.configuration).loginBySaml(requestParameters.loginBySamlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
/**
|
package/api/default-api.ts
CHANGED
|
@@ -31,7 +31,8 @@ import { InlineResponse503 } from '../models';
|
|
|
31
31
|
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
35
|
+
* @summary Health Check
|
|
35
36
|
* @param {*} [options] Override http request option.
|
|
36
37
|
* @throws {RequiredError}
|
|
37
38
|
*/
|
|
@@ -72,7 +73,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
72
73
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
73
74
|
return {
|
|
74
75
|
/**
|
|
75
|
-
*
|
|
76
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
77
|
+
* @summary Health Check
|
|
76
78
|
* @param {*} [options] Override http request option.
|
|
77
79
|
* @throws {RequiredError}
|
|
78
80
|
*/
|
|
@@ -91,7 +93,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
91
93
|
const localVarFp = DefaultApiFp(configuration)
|
|
92
94
|
return {
|
|
93
95
|
/**
|
|
94
|
-
*
|
|
96
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
|
+
* @summary Health Check
|
|
95
98
|
* @param {*} [options] Override http request option.
|
|
96
99
|
* @throws {RequiredError}
|
|
97
100
|
*/
|
|
@@ -109,7 +112,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
109
112
|
*/
|
|
110
113
|
export class DefaultApi extends BaseAPI {
|
|
111
114
|
/**
|
|
112
|
-
*
|
|
115
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
116
|
+
* @summary Health Check
|
|
113
117
|
* @param {*} [options] Override http request option.
|
|
114
118
|
* @throws {RequiredError}
|
|
115
119
|
* @memberof DefaultApi
|
package/base.ts
CHANGED
|
@@ -87,6 +87,7 @@ export class BaseAPI {
|
|
|
87
87
|
if (configuration) {
|
|
88
88
|
this.configuration = configuration;
|
|
89
89
|
this.basePath = configuration.basePath || this.basePath;
|
|
90
|
+
this.configuration.accessToken = this.tokenData.accessToken ? `Bearer ${this.tokenData.accessToken}` : '';
|
|
90
91
|
} else {
|
|
91
92
|
const { accessToken, username } = this.tokenData;
|
|
92
93
|
|
|
@@ -17,7 +17,7 @@ import { CreateOrgAndUserResponseClass } from '../models';
|
|
|
17
17
|
import { CreateUserRequestDto } from '../models';
|
|
18
18
|
import { CreateUserResponseClass } from '../models';
|
|
19
19
|
import { ForgotPasswordRequestDto } from '../models';
|
|
20
|
-
import {
|
|
20
|
+
import { LoginBySamlRequestDto } from '../models';
|
|
21
21
|
import { LoginClass } from '../models';
|
|
22
22
|
import { LoginRequestDto } from '../models';
|
|
23
23
|
import { LogoutRequestDto } from '../models';
|
|
@@ -54,8 +54,8 @@ export declare const AuthserviceApiAxiosParamCreator: (configuration?: Configura
|
|
|
54
54
|
*/
|
|
55
55
|
forgotPassword: (forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
|
-
* Get
|
|
58
|
-
* @summary Get
|
|
57
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
58
|
+
* @summary Get SAML login link for tenant
|
|
59
59
|
* @param {string} tenantSlug
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
@@ -72,11 +72,11 @@ export declare const AuthserviceApiAxiosParamCreator: (configuration?: Configura
|
|
|
72
72
|
/**
|
|
73
73
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
74
74
|
* @summary Login by SAML idp provider such as ADFS
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
loginBySaml: (loginBySamlRequestDto: LoginBySamlRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
80
|
/**
|
|
81
81
|
* Sign tenant user out.
|
|
82
82
|
* @summary Logout tenant
|
|
@@ -157,8 +157,8 @@ export declare const AuthserviceApiFp: (configuration?: Configuration) => {
|
|
|
157
157
|
*/
|
|
158
158
|
forgotPassword(forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
159
159
|
/**
|
|
160
|
-
* Get
|
|
161
|
-
* @summary Get
|
|
160
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
161
|
+
* @summary Get SAML login link for tenant
|
|
162
162
|
* @param {string} tenantSlug
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
@@ -175,11 +175,11 @@ export declare const AuthserviceApiFp: (configuration?: Configuration) => {
|
|
|
175
175
|
/**
|
|
176
176
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
177
177
|
* @summary Login by SAML idp provider such as ADFS
|
|
178
|
-
* @param {
|
|
178
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
182
|
-
|
|
182
|
+
loginBySaml(loginBySamlRequestDto: LoginBySamlRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginClass>>;
|
|
183
183
|
/**
|
|
184
184
|
* Sign tenant user out.
|
|
185
185
|
* @summary Logout tenant
|
|
@@ -260,8 +260,8 @@ export declare const AuthserviceApiFactory: (configuration?: Configuration, base
|
|
|
260
260
|
*/
|
|
261
261
|
forgotPassword(forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: any): AxiosPromise<void>;
|
|
262
262
|
/**
|
|
263
|
-
* Get
|
|
264
|
-
* @summary Get
|
|
263
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
264
|
+
* @summary Get SAML login link for tenant
|
|
265
265
|
* @param {string} tenantSlug
|
|
266
266
|
* @param {*} [options] Override http request option.
|
|
267
267
|
* @throws {RequiredError}
|
|
@@ -278,11 +278,11 @@ export declare const AuthserviceApiFactory: (configuration?: Configuration, base
|
|
|
278
278
|
/**
|
|
279
279
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
280
280
|
* @summary Login by SAML idp provider such as ADFS
|
|
281
|
-
* @param {
|
|
281
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
282
282
|
* @param {*} [options] Override http request option.
|
|
283
283
|
* @throws {RequiredError}
|
|
284
284
|
*/
|
|
285
|
-
|
|
285
|
+
loginBySaml(loginBySamlRequestDto: LoginBySamlRequestDto, options?: any): AxiosPromise<LoginClass>;
|
|
286
286
|
/**
|
|
287
287
|
* Sign tenant user out.
|
|
288
288
|
* @summary Logout tenant
|
|
@@ -399,17 +399,17 @@ export interface AuthserviceApiLoginRequest {
|
|
|
399
399
|
readonly loginRequestDto: LoginRequestDto;
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
402
|
-
* Request parameters for
|
|
402
|
+
* Request parameters for loginBySaml operation in AuthserviceApi.
|
|
403
403
|
* @export
|
|
404
|
-
* @interface
|
|
404
|
+
* @interface AuthserviceApiLoginBySamlRequest
|
|
405
405
|
*/
|
|
406
|
-
export interface
|
|
406
|
+
export interface AuthserviceApiLoginBySamlRequest {
|
|
407
407
|
/**
|
|
408
408
|
*
|
|
409
|
-
* @type {
|
|
410
|
-
* @memberof
|
|
409
|
+
* @type {LoginBySamlRequestDto}
|
|
410
|
+
* @memberof AuthserviceApiLoginBySaml
|
|
411
411
|
*/
|
|
412
|
-
readonly
|
|
412
|
+
readonly loginBySamlRequestDto: LoginBySamlRequestDto;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* Request parameters for logout operation in AuthserviceApi.
|
|
@@ -530,8 +530,8 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
530
530
|
*/
|
|
531
531
|
forgotPassword(requestParameters: AuthserviceApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
532
532
|
/**
|
|
533
|
-
* Get
|
|
534
|
-
* @summary Get
|
|
533
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
534
|
+
* @summary Get SAML login link for tenant
|
|
535
535
|
* @param {AuthserviceApiGetSamlLoginLinkRequest} requestParameters Request parameters.
|
|
536
536
|
* @param {*} [options] Override http request option.
|
|
537
537
|
* @throws {RequiredError}
|
|
@@ -550,12 +550,12 @@ export declare class AuthserviceApi extends BaseAPI {
|
|
|
550
550
|
/**
|
|
551
551
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
552
552
|
* @summary Login by SAML idp provider such as ADFS
|
|
553
|
-
* @param {
|
|
553
|
+
* @param {AuthserviceApiLoginBySamlRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @throws {RequiredError}
|
|
556
556
|
* @memberof AuthserviceApi
|
|
557
557
|
*/
|
|
558
|
-
|
|
558
|
+
loginBySaml(requestParameters: AuthserviceApiLoginBySamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginClass, any>>;
|
|
559
559
|
/**
|
|
560
560
|
* Sign tenant user out.
|
|
561
561
|
* @summary Logout tenant
|
|
@@ -198,8 +198,8 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
/**
|
|
201
|
-
* Get
|
|
202
|
-
* @summary Get
|
|
201
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
202
|
+
* @summary Get SAML login link for tenant
|
|
203
203
|
* @param {string} tenantSlug
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
@@ -271,17 +271,17 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
271
271
|
/**
|
|
272
272
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
273
273
|
* @summary Login by SAML idp provider such as ADFS
|
|
274
|
-
* @param {
|
|
274
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
275
275
|
* @param {*} [options] Override http request option.
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
*/
|
|
278
|
-
|
|
278
|
+
loginBySaml: function (loginBySamlRequestDto, options) {
|
|
279
279
|
if (options === void 0) { options = {}; }
|
|
280
280
|
return __awaiter(_this, void 0, void 0, function () {
|
|
281
281
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
282
|
return __generator(this, function (_a) {
|
|
283
|
-
// verify required parameter '
|
|
284
|
-
(0, common_1.assertParamExists)('
|
|
283
|
+
// verify required parameter 'loginBySamlRequestDto' is not null or undefined
|
|
284
|
+
(0, common_1.assertParamExists)('loginBySaml', 'loginBySamlRequestDto', loginBySamlRequestDto);
|
|
285
285
|
localVarPath = "/authservice/v1/login/saml";
|
|
286
286
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
287
287
|
if (configuration) {
|
|
@@ -295,7 +295,7 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
|
|
|
295
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
296
296
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
297
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
298
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
298
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(loginBySamlRequestDto, localVarRequestOptions, configuration);
|
|
299
299
|
return [2 /*return*/, {
|
|
300
300
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
301
301
|
options: localVarRequestOptions,
|
|
@@ -591,8 +591,8 @@ var AuthserviceApiFp = function (configuration) {
|
|
|
591
591
|
});
|
|
592
592
|
},
|
|
593
593
|
/**
|
|
594
|
-
* Get
|
|
595
|
-
* @summary Get
|
|
594
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
595
|
+
* @summary Get SAML login link for tenant
|
|
596
596
|
* @param {string} tenantSlug
|
|
597
597
|
* @param {*} [options] Override http request option.
|
|
598
598
|
* @throws {RequiredError}
|
|
@@ -633,16 +633,16 @@ var AuthserviceApiFp = function (configuration) {
|
|
|
633
633
|
/**
|
|
634
634
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
635
635
|
* @summary Login by SAML idp provider such as ADFS
|
|
636
|
-
* @param {
|
|
636
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
637
637
|
* @param {*} [options] Override http request option.
|
|
638
638
|
* @throws {RequiredError}
|
|
639
639
|
*/
|
|
640
|
-
|
|
640
|
+
loginBySaml: function (loginBySamlRequestDto, options) {
|
|
641
641
|
return __awaiter(this, void 0, void 0, function () {
|
|
642
642
|
var localVarAxiosArgs;
|
|
643
643
|
return __generator(this, function (_a) {
|
|
644
644
|
switch (_a.label) {
|
|
645
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
645
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.loginBySaml(loginBySamlRequestDto, options)];
|
|
646
646
|
case 1:
|
|
647
647
|
localVarAxiosArgs = _a.sent();
|
|
648
648
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -812,8 +812,8 @@ var AuthserviceApiFactory = function (configuration, basePath, axios) {
|
|
|
812
812
|
return localVarFp.forgotPassword(forgotPasswordRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
813
813
|
},
|
|
814
814
|
/**
|
|
815
|
-
* Get
|
|
816
|
-
* @summary Get
|
|
815
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
816
|
+
* @summary Get SAML login link for tenant
|
|
817
817
|
* @param {string} tenantSlug
|
|
818
818
|
* @param {*} [options] Override http request option.
|
|
819
819
|
* @throws {RequiredError}
|
|
@@ -834,12 +834,12 @@ var AuthserviceApiFactory = function (configuration, basePath, axios) {
|
|
|
834
834
|
/**
|
|
835
835
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
836
836
|
* @summary Login by SAML idp provider such as ADFS
|
|
837
|
-
* @param {
|
|
837
|
+
* @param {LoginBySamlRequestDto} loginBySamlRequestDto
|
|
838
838
|
* @param {*} [options] Override http request option.
|
|
839
839
|
* @throws {RequiredError}
|
|
840
840
|
*/
|
|
841
|
-
|
|
842
|
-
return localVarFp.
|
|
841
|
+
loginBySaml: function (loginBySamlRequestDto, options) {
|
|
842
|
+
return localVarFp.loginBySaml(loginBySamlRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
843
843
|
},
|
|
844
844
|
/**
|
|
845
845
|
* Sign tenant user out.
|
|
@@ -953,8 +953,8 @@ var AuthserviceApi = /** @class */ (function (_super) {
|
|
|
953
953
|
return (0, exports.AuthserviceApiFp)(this.configuration).forgotPassword(requestParameters.forgotPasswordRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
954
954
|
};
|
|
955
955
|
/**
|
|
956
|
-
* Get
|
|
957
|
-
* @summary Get
|
|
956
|
+
* Get SAML login link configured for the tenant in cognito as well as tenant settings
|
|
957
|
+
* @summary Get SAML login link for tenant
|
|
958
958
|
* @param {AuthserviceApiGetSamlLoginLinkRequest} requestParameters Request parameters.
|
|
959
959
|
* @param {*} [options] Override http request option.
|
|
960
960
|
* @throws {RequiredError}
|
|
@@ -979,14 +979,14 @@ var AuthserviceApi = /** @class */ (function (_super) {
|
|
|
979
979
|
/**
|
|
980
980
|
* Get new access token, refresh token after successful login. This api also creates a tenant user if user does not exist
|
|
981
981
|
* @summary Login by SAML idp provider such as ADFS
|
|
982
|
-
* @param {
|
|
982
|
+
* @param {AuthserviceApiLoginBySamlRequest} requestParameters Request parameters.
|
|
983
983
|
* @param {*} [options] Override http request option.
|
|
984
984
|
* @throws {RequiredError}
|
|
985
985
|
* @memberof AuthserviceApi
|
|
986
986
|
*/
|
|
987
|
-
AuthserviceApi.prototype.
|
|
987
|
+
AuthserviceApi.prototype.loginBySaml = function (requestParameters, options) {
|
|
988
988
|
var _this = this;
|
|
989
|
-
return (0, exports.AuthserviceApiFp)(this.configuration).
|
|
989
|
+
return (0, exports.AuthserviceApiFp)(this.configuration).loginBySaml(requestParameters.loginBySamlRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
990
990
|
};
|
|
991
991
|
/**
|
|
992
992
|
* Sign tenant user out.
|
|
@@ -19,7 +19,8 @@ import { InlineResponse200 } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
|
+
* @summary Health Check
|
|
23
24
|
* @param {*} [options] Override http request option.
|
|
24
25
|
* @throws {RequiredError}
|
|
25
26
|
*/
|
|
@@ -31,7 +32,8 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31
32
|
*/
|
|
32
33
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
|
+
* @summary Health Check
|
|
35
37
|
* @param {*} [options] Override http request option.
|
|
36
38
|
* @throws {RequiredError}
|
|
37
39
|
*/
|
|
@@ -43,7 +45,8 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
43
45
|
*/
|
|
44
46
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
48
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
|
+
* @summary Health Check
|
|
47
50
|
* @param {*} [options] Override http request option.
|
|
48
51
|
* @throws {RequiredError}
|
|
49
52
|
*/
|
|
@@ -57,7 +60,8 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
57
60
|
*/
|
|
58
61
|
export declare class DefaultApi extends BaseAPI {
|
|
59
62
|
/**
|
|
60
|
-
*
|
|
63
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
|
+
* @summary Health Check
|
|
61
65
|
* @param {*} [options] Override http request option.
|
|
62
66
|
* @throws {RequiredError}
|
|
63
67
|
* @memberof DefaultApi
|
package/dist/api/default-api.js
CHANGED
|
@@ -93,7 +93,8 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
|
+
* @summary Health Check
|
|
97
98
|
* @param {*} [options] Override http request option.
|
|
98
99
|
* @throws {RequiredError}
|
|
99
100
|
*/
|
|
@@ -132,7 +133,8 @@ var DefaultApiFp = function (configuration) {
|
|
|
132
133
|
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
133
134
|
return {
|
|
134
135
|
/**
|
|
135
|
-
*
|
|
136
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
137
|
+
* @summary Health Check
|
|
136
138
|
* @param {*} [options] Override http request option.
|
|
137
139
|
* @throws {RequiredError}
|
|
138
140
|
*/
|
|
@@ -160,7 +162,8 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
160
162
|
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
161
163
|
return {
|
|
162
164
|
/**
|
|
163
|
-
*
|
|
165
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
166
|
+
* @summary Health Check
|
|
164
167
|
* @param {*} [options] Override http request option.
|
|
165
168
|
* @throws {RequiredError}
|
|
166
169
|
*/
|
|
@@ -182,7 +185,8 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
182
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
183
186
|
}
|
|
184
187
|
/**
|
|
185
|
-
*
|
|
188
|
+
* Returns the health status of the auth service. This endpoint is used to monitor the operational status of the auth service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
189
|
+
* @summary Health Check
|
|
186
190
|
* @param {*} [options] Override http request option.
|
|
187
191
|
* @throws {RequiredError}
|
|
188
192
|
* @memberof DefaultApi
|
package/dist/base.js
CHANGED
|
@@ -125,6 +125,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
125
125
|
if (configuration) {
|
|
126
126
|
this.configuration = configuration;
|
|
127
127
|
this.basePath = configuration.basePath || this.basePath;
|
|
128
|
+
this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
|
|
128
129
|
}
|
|
129
130
|
else {
|
|
130
131
|
var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
|
package/dist/models/{get-samllogin-link-request-dto.d.ts → get-saml-login-link-request-dto.d.ts}
RENAMED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface GetSamlLoginLinkRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface GetSamlLoginLinkRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof GetSamlLoginLinkRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'tenantSlug': string;
|
|
24
24
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ export * from './create-user-request-dto';
|
|
|
4
4
|
export * from './create-user-response-class';
|
|
5
5
|
export * from './custom-schema-class';
|
|
6
6
|
export * from './forgot-password-request-dto';
|
|
7
|
-
export * from './get-
|
|
7
|
+
export * from './get-saml-login-link-request-dto';
|
|
8
8
|
export * from './inline-response200';
|
|
9
9
|
export * from './inline-response503';
|
|
10
|
-
export * from './login-by-
|
|
10
|
+
export * from './login-by-saml-request-dto';
|
|
11
11
|
export * from './login-class';
|
|
12
12
|
export * from './login-request-dto';
|
|
13
13
|
export * from './logout-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -20,10 +20,10 @@ __exportStar(require("./create-user-request-dto"), exports);
|
|
|
20
20
|
__exportStar(require("./create-user-response-class"), exports);
|
|
21
21
|
__exportStar(require("./custom-schema-class"), exports);
|
|
22
22
|
__exportStar(require("./forgot-password-request-dto"), exports);
|
|
23
|
-
__exportStar(require("./get-
|
|
23
|
+
__exportStar(require("./get-saml-login-link-request-dto"), exports);
|
|
24
24
|
__exportStar(require("./inline-response200"), exports);
|
|
25
25
|
__exportStar(require("./inline-response503"), exports);
|
|
26
|
-
__exportStar(require("./login-by-
|
|
26
|
+
__exportStar(require("./login-by-saml-request-dto"), exports);
|
|
27
27
|
__exportStar(require("./login-class"), exports);
|
|
28
28
|
__exportStar(require("./login-request-dto"), exports);
|
|
29
29
|
__exportStar(require("./logout-request-dto"), exports);
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse200
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse200
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse200
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse503
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse503
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse503
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface LoginBySamlRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface LoginBySamlRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* code for grant type authorization code
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof LoginBySamlRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* Tenant slug
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof LoginBySamlRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'tenantSlug': string;
|
|
30
30
|
}
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface GetSamlLoginLinkRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetSamlLoginLinkRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof GetSamlLoginLinkRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'tenantSlug': string;
|
|
29
29
|
}
|
package/models/index.ts
CHANGED
|
@@ -4,10 +4,10 @@ export * from './create-user-request-dto';
|
|
|
4
4
|
export * from './create-user-response-class';
|
|
5
5
|
export * from './custom-schema-class';
|
|
6
6
|
export * from './forgot-password-request-dto';
|
|
7
|
-
export * from './get-
|
|
7
|
+
export * from './get-saml-login-link-request-dto';
|
|
8
8
|
export * from './inline-response200';
|
|
9
9
|
export * from './inline-response503';
|
|
10
|
-
export * from './login-by-
|
|
10
|
+
export * from './login-by-saml-request-dto';
|
|
11
11
|
export * from './login-class';
|
|
12
12
|
export * from './login-request-dto';
|
|
13
13
|
export * from './logout-request-dto';
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface LoginBySamlRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface LoginBySamlRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* code for grant type authorization code
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof LoginBySamlRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
30
|
* Tenant slug
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof LoginBySamlRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'tenantSlug': string;
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/auth-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/auth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
|
|
25
24
|
"typescript": "^4.0"
|
|
26
25
|
}
|
|
27
26
|
}
|
/package/dist/models/{get-samllogin-link-request-dto.js → get-saml-login-link-request-dto.js}
RENAMED
|
File without changes
|
|
File without changes
|