@goauthentik/api 2022.5.2-1653148926 → 2022.5.2-1653418992
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/dist/esm/models/NotificationRule.d.ts +1 -1
- package/dist/esm/models/NotificationRule.js +1 -1
- package/dist/esm/models/NotificationRuleRequest.d.ts +1 -1
- package/dist/esm/models/NotificationRuleRequest.js +1 -1
- package/dist/esm/models/OAuth2Provider.d.ts +7 -1
- package/dist/esm/models/OAuth2Provider.js +2 -0
- package/dist/esm/models/OAuth2ProviderRequest.d.ts +7 -1
- package/dist/esm/models/OAuth2ProviderRequest.js +2 -0
- package/dist/esm/models/OAuthSource.d.ts +20 -0
- package/dist/esm/models/OAuthSource.js +6 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts +20 -0
- package/dist/esm/models/OAuthSourceRequest.js +6 -0
- package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +7 -1
- package/dist/esm/models/PatchedOAuth2ProviderRequest.js +2 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +20 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js +6 -0
- package/dist/esm/models/PatchedUserRequest.d.ts +1 -1
- package/dist/esm/models/User.d.ts +1 -1
- package/dist/esm/models/UserRequest.d.ts +1 -1
- package/dist/models/NotificationRule.d.ts +1 -1
- package/dist/models/NotificationRule.js +1 -1
- package/dist/models/NotificationRuleRequest.d.ts +1 -1
- package/dist/models/NotificationRuleRequest.js +1 -1
- package/dist/models/OAuth2Provider.d.ts +7 -1
- package/dist/models/OAuth2Provider.js +2 -0
- package/dist/models/OAuth2ProviderRequest.d.ts +7 -1
- package/dist/models/OAuth2ProviderRequest.js +2 -0
- package/dist/models/OAuthSource.d.ts +20 -0
- package/dist/models/OAuthSource.js +6 -0
- package/dist/models/OAuthSourceRequest.d.ts +20 -0
- package/dist/models/OAuthSourceRequest.js +6 -0
- package/dist/models/PatchedOAuth2ProviderRequest.d.ts +7 -1
- package/dist/models/PatchedOAuth2ProviderRequest.js +2 -0
- package/dist/models/PatchedOAuthSourceRequest.d.ts +20 -0
- package/dist/models/PatchedOAuthSourceRequest.js +6 -0
- package/dist/models/PatchedUserRequest.d.ts +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/UserRequest.d.ts +1 -1
- package/package.json +1 -1
- package/src/models/NotificationRule.ts +2 -2
- package/src/models/NotificationRuleRequest.ts +2 -2
- package/src/models/OAuth2Provider.ts +9 -1
- package/src/models/OAuth2ProviderRequest.ts +9 -1
- package/src/models/OAuthSource.ts +24 -0
- package/src/models/OAuthSourceRequest.ts +24 -0
- package/src/models/PatchedOAuth2ProviderRequest.ts +9 -1
- package/src/models/PatchedOAuthSourceRequest.ts +24 -0
- package/src/models/PatchedUserRequest.ts +1 -1
- package/src/models/User.ts +1 -1
- package/src/models/UserRequest.ts +1 -1
|
@@ -34,7 +34,7 @@ export interface NotificationRule {
|
|
|
34
34
|
* @type {Array<string>}
|
|
35
35
|
* @memberof NotificationRule
|
|
36
36
|
*/
|
|
37
|
-
transports
|
|
37
|
+
transports?: Array<string>;
|
|
38
38
|
/**
|
|
39
39
|
* Controls which severity level the created notifications will have.
|
|
40
40
|
* @type {SeverityEnum}
|
|
@@ -24,7 +24,7 @@ export function NotificationRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return {
|
|
25
25
|
'pk': json['pk'],
|
|
26
26
|
'name': json['name'],
|
|
27
|
-
'transports': json['transports'],
|
|
27
|
+
'transports': !exists(json, 'transports') ? undefined : json['transports'],
|
|
28
28
|
'severity': !exists(json, 'severity') ? undefined : SeverityEnumFromJSON(json['severity']),
|
|
29
29
|
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
30
30
|
'groupObj': GroupFromJSON(json['group_obj']),
|
|
@@ -27,7 +27,7 @@ export interface NotificationRuleRequest {
|
|
|
27
27
|
* @type {Array<string>}
|
|
28
28
|
* @memberof NotificationRuleRequest
|
|
29
29
|
*/
|
|
30
|
-
transports
|
|
30
|
+
transports?: Array<string>;
|
|
31
31
|
/**
|
|
32
32
|
* Controls which severity level the created notifications will have.
|
|
33
33
|
* @type {SeverityEnum}
|
|
@@ -22,7 +22,7 @@ export function NotificationRuleRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'name': json['name'],
|
|
25
|
-
'transports': json['transports'],
|
|
25
|
+
'transports': !exists(json, 'transports') ? undefined : json['transports'],
|
|
26
26
|
'severity': !exists(json, 'severity') ? undefined : SeverityEnumFromJSON(json['severity']),
|
|
27
27
|
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
28
28
|
};
|
|
@@ -140,11 +140,17 @@ export interface OAuth2Provider {
|
|
|
140
140
|
*/
|
|
141
141
|
issuerMode?: IssuerModeEnum | null;
|
|
142
142
|
/**
|
|
143
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
143
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
144
144
|
* @type {Array<string>}
|
|
145
145
|
* @memberof OAuth2Provider
|
|
146
146
|
*/
|
|
147
147
|
verificationKeys?: Array<string>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {Array<string>}
|
|
151
|
+
* @memberof OAuth2Provider
|
|
152
|
+
*/
|
|
153
|
+
jwksSources?: Array<string>;
|
|
148
154
|
}
|
|
149
155
|
export declare function OAuth2ProviderFromJSON(json: any): OAuth2Provider;
|
|
150
156
|
export declare function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2Provider;
|
|
@@ -44,6 +44,7 @@ export function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
45
45
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
46
46
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
47
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export function OAuth2ProviderToJSON(value) {
|
|
@@ -68,5 +69,6 @@ export function OAuth2ProviderToJSON(value) {
|
|
|
68
69
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
69
70
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
70
71
|
'verification_keys': value.verificationKeys,
|
|
72
|
+
'jwks_sources': value.jwksSources,
|
|
71
73
|
};
|
|
72
74
|
}
|
|
@@ -98,11 +98,17 @@ export interface OAuth2ProviderRequest {
|
|
|
98
98
|
*/
|
|
99
99
|
issuerMode?: IssuerModeEnum | null;
|
|
100
100
|
/**
|
|
101
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
101
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof OAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
105
|
verificationKeys?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof OAuth2ProviderRequest
|
|
110
|
+
*/
|
|
111
|
+
jwksSources?: Array<string>;
|
|
106
112
|
}
|
|
107
113
|
export declare function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest;
|
|
108
114
|
export declare function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderRequest;
|
|
@@ -37,6 +37,7 @@ export function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
38
38
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
39
39
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
40
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function OAuth2ProviderRequestToJSON(value) {
|
|
@@ -61,5 +62,6 @@ export function OAuth2ProviderRequestToJSON(value) {
|
|
|
61
62
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
62
63
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
63
64
|
'verification_keys': value.verificationKeys,
|
|
65
|
+
'jwks_sources': value.jwksSources,
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -145,6 +145,26 @@ export interface OAuthSource {
|
|
|
145
145
|
* @memberof OAuthSource
|
|
146
146
|
*/
|
|
147
147
|
readonly type: SourceType | null;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof OAuthSource
|
|
152
|
+
*/
|
|
153
|
+
oidcWellKnownUrl?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof OAuthSource
|
|
158
|
+
*/
|
|
159
|
+
oidcJwksUrl?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {{ [key: string]: any; }}
|
|
163
|
+
* @memberof OAuthSource
|
|
164
|
+
*/
|
|
165
|
+
oidcJwks?: {
|
|
166
|
+
[key: string]: any;
|
|
167
|
+
};
|
|
148
168
|
}
|
|
149
169
|
export declare function OAuthSourceFromJSON(json: any): OAuthSource;
|
|
150
170
|
export declare function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSource;
|
|
@@ -45,6 +45,9 @@ export function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'callbackUrl': json['callback_url'],
|
|
46
46
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
47
47
|
'type': SourceTypeFromJSON(json['type']),
|
|
48
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
49
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
50
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
export function OAuthSourceToJSON(value) {
|
|
@@ -69,5 +72,8 @@ export function OAuthSourceToJSON(value) {
|
|
|
69
72
|
'profile_url': value.profileUrl,
|
|
70
73
|
'consumer_key': value.consumerKey,
|
|
71
74
|
'additional_scopes': value.additionalScopes,
|
|
75
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
76
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
77
|
+
'oidc_jwks': value.oidcJwks,
|
|
72
78
|
};
|
|
73
79
|
}
|
|
@@ -108,6 +108,26 @@ export interface OAuthSourceRequest {
|
|
|
108
108
|
* @memberof OAuthSourceRequest
|
|
109
109
|
*/
|
|
110
110
|
additionalScopes?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof OAuthSourceRequest
|
|
115
|
+
*/
|
|
116
|
+
oidcWellKnownUrl?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof OAuthSourceRequest
|
|
121
|
+
*/
|
|
122
|
+
oidcJwksUrl?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {{ [key: string]: any; }}
|
|
126
|
+
* @memberof OAuthSourceRequest
|
|
127
|
+
*/
|
|
128
|
+
oidcJwks?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
111
131
|
}
|
|
112
132
|
export declare function OAuthSourceRequestFromJSON(json: any): OAuthSourceRequest;
|
|
113
133
|
export declare function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSourceRequest;
|
|
@@ -38,6 +38,9 @@ export function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'consumerKey': json['consumer_key'],
|
|
39
39
|
'consumerSecret': json['consumer_secret'],
|
|
40
40
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
41
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
42
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
43
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
export function OAuthSourceRequestToJSON(value) {
|
|
@@ -63,5 +66,8 @@ export function OAuthSourceRequestToJSON(value) {
|
|
|
63
66
|
'consumer_key': value.consumerKey,
|
|
64
67
|
'consumer_secret': value.consumerSecret,
|
|
65
68
|
'additional_scopes': value.additionalScopes,
|
|
69
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
70
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
71
|
+
'oidc_jwks': value.oidcJwks,
|
|
66
72
|
};
|
|
67
73
|
}
|
|
@@ -98,11 +98,17 @@ export interface PatchedOAuth2ProviderRequest {
|
|
|
98
98
|
*/
|
|
99
99
|
issuerMode?: IssuerModeEnum | null;
|
|
100
100
|
/**
|
|
101
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
101
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof PatchedOAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
105
|
verificationKeys?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof PatchedOAuth2ProviderRequest
|
|
110
|
+
*/
|
|
111
|
+
jwksSources?: Array<string>;
|
|
106
112
|
}
|
|
107
113
|
export declare function PatchedOAuth2ProviderRequestFromJSON(json: any): PatchedOAuth2ProviderRequest;
|
|
108
114
|
export declare function PatchedOAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuth2ProviderRequest;
|
|
@@ -37,6 +37,7 @@ export function PatchedOAuth2ProviderRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
37
37
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
38
38
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
39
39
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
40
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function PatchedOAuth2ProviderRequestToJSON(value) {
|
|
@@ -61,5 +62,6 @@ export function PatchedOAuth2ProviderRequestToJSON(value) {
|
|
|
61
62
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
62
63
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
63
64
|
'verification_keys': value.verificationKeys,
|
|
65
|
+
'jwks_sources': value.jwksSources,
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -108,6 +108,26 @@ export interface PatchedOAuthSourceRequest {
|
|
|
108
108
|
* @memberof PatchedOAuthSourceRequest
|
|
109
109
|
*/
|
|
110
110
|
additionalScopes?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof PatchedOAuthSourceRequest
|
|
115
|
+
*/
|
|
116
|
+
oidcWellKnownUrl?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PatchedOAuthSourceRequest
|
|
121
|
+
*/
|
|
122
|
+
oidcJwksUrl?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {{ [key: string]: any; }}
|
|
126
|
+
* @memberof PatchedOAuthSourceRequest
|
|
127
|
+
*/
|
|
128
|
+
oidcJwks?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
111
131
|
}
|
|
112
132
|
export declare function PatchedOAuthSourceRequestFromJSON(json: any): PatchedOAuthSourceRequest;
|
|
113
133
|
export declare function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuthSourceRequest;
|
|
@@ -38,6 +38,9 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
38
38
|
'consumerKey': !exists(json, 'consumer_key') ? undefined : json['consumer_key'],
|
|
39
39
|
'consumerSecret': !exists(json, 'consumer_secret') ? undefined : json['consumer_secret'],
|
|
40
40
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
41
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
42
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
43
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
export function PatchedOAuthSourceRequestToJSON(value) {
|
|
@@ -63,5 +66,8 @@ export function PatchedOAuthSourceRequestToJSON(value) {
|
|
|
63
66
|
'consumer_key': value.consumerKey,
|
|
64
67
|
'consumer_secret': value.consumerSecret,
|
|
65
68
|
'additional_scopes': value.additionalScopes,
|
|
69
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
70
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
71
|
+
'oidc_jwks': value.oidcJwks,
|
|
66
72
|
};
|
|
67
73
|
}
|
|
@@ -34,7 +34,7 @@ export interface NotificationRule {
|
|
|
34
34
|
* @type {Array<string>}
|
|
35
35
|
* @memberof NotificationRule
|
|
36
36
|
*/
|
|
37
|
-
transports
|
|
37
|
+
transports?: Array<string>;
|
|
38
38
|
/**
|
|
39
39
|
* Controls which severity level the created notifications will have.
|
|
40
40
|
* @type {SeverityEnum}
|
|
@@ -28,7 +28,7 @@ function NotificationRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
return {
|
|
29
29
|
'pk': json['pk'],
|
|
30
30
|
'name': json['name'],
|
|
31
|
-
'transports': json['transports'],
|
|
31
|
+
'transports': !runtime_1.exists(json, 'transports') ? undefined : json['transports'],
|
|
32
32
|
'severity': !runtime_1.exists(json, 'severity') ? undefined : SeverityEnum_1.SeverityEnumFromJSON(json['severity']),
|
|
33
33
|
'group': !runtime_1.exists(json, 'group') ? undefined : json['group'],
|
|
34
34
|
'groupObj': Group_1.GroupFromJSON(json['group_obj']),
|
|
@@ -27,7 +27,7 @@ export interface NotificationRuleRequest {
|
|
|
27
27
|
* @type {Array<string>}
|
|
28
28
|
* @memberof NotificationRuleRequest
|
|
29
29
|
*/
|
|
30
|
-
transports
|
|
30
|
+
transports?: Array<string>;
|
|
31
31
|
/**
|
|
32
32
|
* Controls which severity level the created notifications will have.
|
|
33
33
|
* @type {SeverityEnum}
|
|
@@ -26,7 +26,7 @@ function NotificationRuleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'name': json['name'],
|
|
29
|
-
'transports': json['transports'],
|
|
29
|
+
'transports': !runtime_1.exists(json, 'transports') ? undefined : json['transports'],
|
|
30
30
|
'severity': !runtime_1.exists(json, 'severity') ? undefined : SeverityEnum_1.SeverityEnumFromJSON(json['severity']),
|
|
31
31
|
'group': !runtime_1.exists(json, 'group') ? undefined : json['group'],
|
|
32
32
|
};
|
|
@@ -140,11 +140,17 @@ export interface OAuth2Provider {
|
|
|
140
140
|
*/
|
|
141
141
|
issuerMode?: IssuerModeEnum | null;
|
|
142
142
|
/**
|
|
143
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
143
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
144
144
|
* @type {Array<string>}
|
|
145
145
|
* @memberof OAuth2Provider
|
|
146
146
|
*/
|
|
147
147
|
verificationKeys?: Array<string>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {Array<string>}
|
|
151
|
+
* @memberof OAuth2Provider
|
|
152
|
+
*/
|
|
153
|
+
jwksSources?: Array<string>;
|
|
148
154
|
}
|
|
149
155
|
export declare function OAuth2ProviderFromJSON(json: any): OAuth2Provider;
|
|
150
156
|
export declare function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2Provider;
|
|
@@ -48,6 +48,7 @@ function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'subMode': !runtime_1.exists(json, 'sub_mode') ? undefined : SubModeEnum_1.SubModeEnumFromJSON(json['sub_mode']),
|
|
49
49
|
'issuerMode': !runtime_1.exists(json, 'issuer_mode') ? undefined : IssuerModeEnum_1.IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
50
50
|
'verificationKeys': !runtime_1.exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
51
|
+
'jwksSources': !runtime_1.exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
exports.OAuth2ProviderFromJSONTyped = OAuth2ProviderFromJSONTyped;
|
|
@@ -73,6 +74,7 @@ function OAuth2ProviderToJSON(value) {
|
|
|
73
74
|
'sub_mode': SubModeEnum_1.SubModeEnumToJSON(value.subMode),
|
|
74
75
|
'issuer_mode': IssuerModeEnum_1.IssuerModeEnumToJSON(value.issuerMode),
|
|
75
76
|
'verification_keys': value.verificationKeys,
|
|
77
|
+
'jwks_sources': value.jwksSources,
|
|
76
78
|
};
|
|
77
79
|
}
|
|
78
80
|
exports.OAuth2ProviderToJSON = OAuth2ProviderToJSON;
|
|
@@ -98,11 +98,17 @@ export interface OAuth2ProviderRequest {
|
|
|
98
98
|
*/
|
|
99
99
|
issuerMode?: IssuerModeEnum | null;
|
|
100
100
|
/**
|
|
101
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
101
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof OAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
105
|
verificationKeys?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof OAuth2ProviderRequest
|
|
110
|
+
*/
|
|
111
|
+
jwksSources?: Array<string>;
|
|
106
112
|
}
|
|
107
113
|
export declare function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest;
|
|
108
114
|
export declare function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderRequest;
|
|
@@ -41,6 +41,7 @@ function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'subMode': !runtime_1.exists(json, 'sub_mode') ? undefined : SubModeEnum_1.SubModeEnumFromJSON(json['sub_mode']),
|
|
42
42
|
'issuerMode': !runtime_1.exists(json, 'issuer_mode') ? undefined : IssuerModeEnum_1.IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
43
43
|
'verificationKeys': !runtime_1.exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
44
|
+
'jwksSources': !runtime_1.exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
exports.OAuth2ProviderRequestFromJSONTyped = OAuth2ProviderRequestFromJSONTyped;
|
|
@@ -66,6 +67,7 @@ function OAuth2ProviderRequestToJSON(value) {
|
|
|
66
67
|
'sub_mode': SubModeEnum_1.SubModeEnumToJSON(value.subMode),
|
|
67
68
|
'issuer_mode': IssuerModeEnum_1.IssuerModeEnumToJSON(value.issuerMode),
|
|
68
69
|
'verification_keys': value.verificationKeys,
|
|
70
|
+
'jwks_sources': value.jwksSources,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
exports.OAuth2ProviderRequestToJSON = OAuth2ProviderRequestToJSON;
|
|
@@ -145,6 +145,26 @@ export interface OAuthSource {
|
|
|
145
145
|
* @memberof OAuthSource
|
|
146
146
|
*/
|
|
147
147
|
readonly type: SourceType | null;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof OAuthSource
|
|
152
|
+
*/
|
|
153
|
+
oidcWellKnownUrl?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof OAuthSource
|
|
158
|
+
*/
|
|
159
|
+
oidcJwksUrl?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {{ [key: string]: any; }}
|
|
163
|
+
* @memberof OAuthSource
|
|
164
|
+
*/
|
|
165
|
+
oidcJwks?: {
|
|
166
|
+
[key: string]: any;
|
|
167
|
+
};
|
|
148
168
|
}
|
|
149
169
|
export declare function OAuthSourceFromJSON(json: any): OAuthSource;
|
|
150
170
|
export declare function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSource;
|
|
@@ -49,6 +49,9 @@ function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'callbackUrl': json['callback_url'],
|
|
50
50
|
'additionalScopes': !runtime_1.exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
51
51
|
'type': SourceType_1.SourceTypeFromJSON(json['type']),
|
|
52
|
+
'oidcWellKnownUrl': !runtime_1.exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
53
|
+
'oidcJwksUrl': !runtime_1.exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
54
|
+
'oidcJwks': !runtime_1.exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
exports.OAuthSourceFromJSONTyped = OAuthSourceFromJSONTyped;
|
|
@@ -74,6 +77,9 @@ function OAuthSourceToJSON(value) {
|
|
|
74
77
|
'profile_url': value.profileUrl,
|
|
75
78
|
'consumer_key': value.consumerKey,
|
|
76
79
|
'additional_scopes': value.additionalScopes,
|
|
80
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
81
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
82
|
+
'oidc_jwks': value.oidcJwks,
|
|
77
83
|
};
|
|
78
84
|
}
|
|
79
85
|
exports.OAuthSourceToJSON = OAuthSourceToJSON;
|
|
@@ -108,6 +108,26 @@ export interface OAuthSourceRequest {
|
|
|
108
108
|
* @memberof OAuthSourceRequest
|
|
109
109
|
*/
|
|
110
110
|
additionalScopes?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof OAuthSourceRequest
|
|
115
|
+
*/
|
|
116
|
+
oidcWellKnownUrl?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof OAuthSourceRequest
|
|
121
|
+
*/
|
|
122
|
+
oidcJwksUrl?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {{ [key: string]: any; }}
|
|
126
|
+
* @memberof OAuthSourceRequest
|
|
127
|
+
*/
|
|
128
|
+
oidcJwks?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
111
131
|
}
|
|
112
132
|
export declare function OAuthSourceRequestFromJSON(json: any): OAuthSourceRequest;
|
|
113
133
|
export declare function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSourceRequest;
|
|
@@ -42,6 +42,9 @@ function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'consumerKey': json['consumer_key'],
|
|
43
43
|
'consumerSecret': json['consumer_secret'],
|
|
44
44
|
'additionalScopes': !runtime_1.exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
45
|
+
'oidcWellKnownUrl': !runtime_1.exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
46
|
+
'oidcJwksUrl': !runtime_1.exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
47
|
+
'oidcJwks': !runtime_1.exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
exports.OAuthSourceRequestFromJSONTyped = OAuthSourceRequestFromJSONTyped;
|
|
@@ -68,6 +71,9 @@ function OAuthSourceRequestToJSON(value) {
|
|
|
68
71
|
'consumer_key': value.consumerKey,
|
|
69
72
|
'consumer_secret': value.consumerSecret,
|
|
70
73
|
'additional_scopes': value.additionalScopes,
|
|
74
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
75
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
76
|
+
'oidc_jwks': value.oidcJwks,
|
|
71
77
|
};
|
|
72
78
|
}
|
|
73
79
|
exports.OAuthSourceRequestToJSON = OAuthSourceRequestToJSON;
|
|
@@ -98,11 +98,17 @@ export interface PatchedOAuth2ProviderRequest {
|
|
|
98
98
|
*/
|
|
99
99
|
issuerMode?: IssuerModeEnum | null;
|
|
100
100
|
/**
|
|
101
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
101
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof PatchedOAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
105
|
verificationKeys?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof PatchedOAuth2ProviderRequest
|
|
110
|
+
*/
|
|
111
|
+
jwksSources?: Array<string>;
|
|
106
112
|
}
|
|
107
113
|
export declare function PatchedOAuth2ProviderRequestFromJSON(json: any): PatchedOAuth2ProviderRequest;
|
|
108
114
|
export declare function PatchedOAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuth2ProviderRequest;
|
|
@@ -41,6 +41,7 @@ function PatchedOAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'subMode': !runtime_1.exists(json, 'sub_mode') ? undefined : SubModeEnum_1.SubModeEnumFromJSON(json['sub_mode']),
|
|
42
42
|
'issuerMode': !runtime_1.exists(json, 'issuer_mode') ? undefined : IssuerModeEnum_1.IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
43
43
|
'verificationKeys': !runtime_1.exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
44
|
+
'jwksSources': !runtime_1.exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
exports.PatchedOAuth2ProviderRequestFromJSONTyped = PatchedOAuth2ProviderRequestFromJSONTyped;
|
|
@@ -66,6 +67,7 @@ function PatchedOAuth2ProviderRequestToJSON(value) {
|
|
|
66
67
|
'sub_mode': SubModeEnum_1.SubModeEnumToJSON(value.subMode),
|
|
67
68
|
'issuer_mode': IssuerModeEnum_1.IssuerModeEnumToJSON(value.issuerMode),
|
|
68
69
|
'verification_keys': value.verificationKeys,
|
|
70
|
+
'jwks_sources': value.jwksSources,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
exports.PatchedOAuth2ProviderRequestToJSON = PatchedOAuth2ProviderRequestToJSON;
|
|
@@ -108,6 +108,26 @@ export interface PatchedOAuthSourceRequest {
|
|
|
108
108
|
* @memberof PatchedOAuthSourceRequest
|
|
109
109
|
*/
|
|
110
110
|
additionalScopes?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof PatchedOAuthSourceRequest
|
|
115
|
+
*/
|
|
116
|
+
oidcWellKnownUrl?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PatchedOAuthSourceRequest
|
|
121
|
+
*/
|
|
122
|
+
oidcJwksUrl?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {{ [key: string]: any; }}
|
|
126
|
+
* @memberof PatchedOAuthSourceRequest
|
|
127
|
+
*/
|
|
128
|
+
oidcJwks?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
111
131
|
}
|
|
112
132
|
export declare function PatchedOAuthSourceRequestFromJSON(json: any): PatchedOAuthSourceRequest;
|
|
113
133
|
export declare function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuthSourceRequest;
|
|
@@ -42,6 +42,9 @@ function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'consumerKey': !runtime_1.exists(json, 'consumer_key') ? undefined : json['consumer_key'],
|
|
43
43
|
'consumerSecret': !runtime_1.exists(json, 'consumer_secret') ? undefined : json['consumer_secret'],
|
|
44
44
|
'additionalScopes': !runtime_1.exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
45
|
+
'oidcWellKnownUrl': !runtime_1.exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
46
|
+
'oidcJwksUrl': !runtime_1.exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
47
|
+
'oidcJwks': !runtime_1.exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
exports.PatchedOAuthSourceRequestFromJSONTyped = PatchedOAuthSourceRequestFromJSONTyped;
|
|
@@ -68,6 +71,9 @@ function PatchedOAuthSourceRequestToJSON(value) {
|
|
|
68
71
|
'consumer_key': value.consumerKey,
|
|
69
72
|
'consumer_secret': value.consumerSecret,
|
|
70
73
|
'additional_scopes': value.additionalScopes,
|
|
74
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
75
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
76
|
+
'oidc_jwks': value.oidcJwks,
|
|
71
77
|
};
|
|
72
78
|
}
|
|
73
79
|
exports.PatchedOAuthSourceRequestToJSON = PatchedOAuthSourceRequestToJSON;
|
package/dist/models/User.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -49,7 +49,7 @@ export interface NotificationRule {
|
|
|
49
49
|
* @type {Array<string>}
|
|
50
50
|
* @memberof NotificationRule
|
|
51
51
|
*/
|
|
52
|
-
transports
|
|
52
|
+
transports?: Array<string>;
|
|
53
53
|
/**
|
|
54
54
|
* Controls which severity level the created notifications will have.
|
|
55
55
|
* @type {SeverityEnum}
|
|
@@ -82,7 +82,7 @@ export function NotificationRuleFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
82
82
|
|
|
83
83
|
'pk': json['pk'],
|
|
84
84
|
'name': json['name'],
|
|
85
|
-
'transports': json['transports'],
|
|
85
|
+
'transports': !exists(json, 'transports') ? undefined : json['transports'],
|
|
86
86
|
'severity': !exists(json, 'severity') ? undefined : SeverityEnumFromJSON(json['severity']),
|
|
87
87
|
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
88
88
|
'groupObj': GroupFromJSON(json['group_obj']),
|
|
@@ -37,7 +37,7 @@ export interface NotificationRuleRequest {
|
|
|
37
37
|
* @type {Array<string>}
|
|
38
38
|
* @memberof NotificationRuleRequest
|
|
39
39
|
*/
|
|
40
|
-
transports
|
|
40
|
+
transports?: Array<string>;
|
|
41
41
|
/**
|
|
42
42
|
* Controls which severity level the created notifications will have.
|
|
43
43
|
* @type {SeverityEnum}
|
|
@@ -63,7 +63,7 @@ export function NotificationRuleRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
63
63
|
return {
|
|
64
64
|
|
|
65
65
|
'name': json['name'],
|
|
66
|
-
'transports': json['transports'],
|
|
66
|
+
'transports': !exists(json, 'transports') ? undefined : json['transports'],
|
|
67
67
|
'severity': !exists(json, 'severity') ? undefined : SeverityEnumFromJSON(json['severity']),
|
|
68
68
|
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
69
69
|
};
|
|
@@ -160,11 +160,17 @@ export interface OAuth2Provider {
|
|
|
160
160
|
*/
|
|
161
161
|
issuerMode?: IssuerModeEnum | null;
|
|
162
162
|
/**
|
|
163
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
163
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
164
164
|
* @type {Array<string>}
|
|
165
165
|
* @memberof OAuth2Provider
|
|
166
166
|
*/
|
|
167
167
|
verificationKeys?: Array<string>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof OAuth2Provider
|
|
172
|
+
*/
|
|
173
|
+
jwksSources?: Array<string>;
|
|
168
174
|
}
|
|
169
175
|
|
|
170
176
|
export function OAuth2ProviderFromJSON(json: any): OAuth2Provider {
|
|
@@ -198,6 +204,7 @@ export function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
198
204
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
199
205
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
200
206
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
207
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
201
208
|
};
|
|
202
209
|
}
|
|
203
210
|
|
|
@@ -224,6 +231,7 @@ export function OAuth2ProviderToJSON(value?: OAuth2Provider | null): any {
|
|
|
224
231
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
225
232
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
226
233
|
'verification_keys': value.verificationKeys,
|
|
234
|
+
'jwks_sources': value.jwksSources,
|
|
227
235
|
};
|
|
228
236
|
}
|
|
229
237
|
|
|
@@ -118,11 +118,17 @@ export interface OAuth2ProviderRequest {
|
|
|
118
118
|
*/
|
|
119
119
|
issuerMode?: IssuerModeEnum | null;
|
|
120
120
|
/**
|
|
121
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
121
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
122
122
|
* @type {Array<string>}
|
|
123
123
|
* @memberof OAuth2ProviderRequest
|
|
124
124
|
*/
|
|
125
125
|
verificationKeys?: Array<string>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<string>}
|
|
129
|
+
* @memberof OAuth2ProviderRequest
|
|
130
|
+
*/
|
|
131
|
+
jwksSources?: Array<string>;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
export function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest {
|
|
@@ -149,6 +155,7 @@ export function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
149
155
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
150
156
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
151
157
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
158
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
152
159
|
};
|
|
153
160
|
}
|
|
154
161
|
|
|
@@ -175,6 +182,7 @@ export function OAuth2ProviderRequestToJSON(value?: OAuth2ProviderRequest | null
|
|
|
175
182
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
176
183
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
177
184
|
'verification_keys': value.verificationKeys,
|
|
185
|
+
'jwks_sources': value.jwksSources,
|
|
178
186
|
};
|
|
179
187
|
}
|
|
180
188
|
|
|
@@ -170,6 +170,24 @@ export interface OAuthSource {
|
|
|
170
170
|
* @memberof OAuthSource
|
|
171
171
|
*/
|
|
172
172
|
readonly type: SourceType | null;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof OAuthSource
|
|
177
|
+
*/
|
|
178
|
+
oidcWellKnownUrl?: string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof OAuthSource
|
|
183
|
+
*/
|
|
184
|
+
oidcJwksUrl?: string;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {{ [key: string]: any; }}
|
|
188
|
+
* @memberof OAuthSource
|
|
189
|
+
*/
|
|
190
|
+
oidcJwks?: { [key: string]: any; };
|
|
173
191
|
}
|
|
174
192
|
|
|
175
193
|
export function OAuthSourceFromJSON(json: any): OAuthSource {
|
|
@@ -203,6 +221,9 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
203
221
|
'callbackUrl': json['callback_url'],
|
|
204
222
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
205
223
|
'type': SourceTypeFromJSON(json['type']),
|
|
224
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
225
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
226
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
206
227
|
};
|
|
207
228
|
}
|
|
208
229
|
|
|
@@ -229,6 +250,9 @@ export function OAuthSourceToJSON(value?: OAuthSource | null): any {
|
|
|
229
250
|
'profile_url': value.profileUrl,
|
|
230
251
|
'consumer_key': value.consumerKey,
|
|
231
252
|
'additional_scopes': value.additionalScopes,
|
|
253
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
254
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
255
|
+
'oidc_jwks': value.oidcJwks,
|
|
232
256
|
};
|
|
233
257
|
}
|
|
234
258
|
|
|
@@ -128,6 +128,24 @@ export interface OAuthSourceRequest {
|
|
|
128
128
|
* @memberof OAuthSourceRequest
|
|
129
129
|
*/
|
|
130
130
|
additionalScopes?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof OAuthSourceRequest
|
|
135
|
+
*/
|
|
136
|
+
oidcWellKnownUrl?: string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof OAuthSourceRequest
|
|
141
|
+
*/
|
|
142
|
+
oidcJwksUrl?: string;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {{ [key: string]: any; }}
|
|
146
|
+
* @memberof OAuthSourceRequest
|
|
147
|
+
*/
|
|
148
|
+
oidcJwks?: { [key: string]: any; };
|
|
131
149
|
}
|
|
132
150
|
|
|
133
151
|
export function OAuthSourceRequestFromJSON(json: any): OAuthSourceRequest {
|
|
@@ -155,6 +173,9 @@ export function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
155
173
|
'consumerKey': json['consumer_key'],
|
|
156
174
|
'consumerSecret': json['consumer_secret'],
|
|
157
175
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
176
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
177
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
178
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
158
179
|
};
|
|
159
180
|
}
|
|
160
181
|
|
|
@@ -182,6 +203,9 @@ export function OAuthSourceRequestToJSON(value?: OAuthSourceRequest | null): any
|
|
|
182
203
|
'consumer_key': value.consumerKey,
|
|
183
204
|
'consumer_secret': value.consumerSecret,
|
|
184
205
|
'additional_scopes': value.additionalScopes,
|
|
206
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
207
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
208
|
+
'oidc_jwks': value.oidcJwks,
|
|
185
209
|
};
|
|
186
210
|
}
|
|
187
211
|
|
|
@@ -118,11 +118,17 @@ export interface PatchedOAuth2ProviderRequest {
|
|
|
118
118
|
*/
|
|
119
119
|
issuerMode?: IssuerModeEnum | null;
|
|
120
120
|
/**
|
|
121
|
-
* JWTs created with the configured certificates can authenticate with this provider.
|
|
121
|
+
* DEPRECATED. JWTs created with the configured certificates can authenticate with this provider.
|
|
122
122
|
* @type {Array<string>}
|
|
123
123
|
* @memberof PatchedOAuth2ProviderRequest
|
|
124
124
|
*/
|
|
125
125
|
verificationKeys?: Array<string>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<string>}
|
|
129
|
+
* @memberof PatchedOAuth2ProviderRequest
|
|
130
|
+
*/
|
|
131
|
+
jwksSources?: Array<string>;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
export function PatchedOAuth2ProviderRequestFromJSON(json: any): PatchedOAuth2ProviderRequest {
|
|
@@ -149,6 +155,7 @@ export function PatchedOAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
149
155
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
150
156
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
151
157
|
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
158
|
+
'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
|
|
152
159
|
};
|
|
153
160
|
}
|
|
154
161
|
|
|
@@ -175,6 +182,7 @@ export function PatchedOAuth2ProviderRequestToJSON(value?: PatchedOAuth2Provider
|
|
|
175
182
|
'sub_mode': SubModeEnumToJSON(value.subMode),
|
|
176
183
|
'issuer_mode': IssuerModeEnumToJSON(value.issuerMode),
|
|
177
184
|
'verification_keys': value.verificationKeys,
|
|
185
|
+
'jwks_sources': value.jwksSources,
|
|
178
186
|
};
|
|
179
187
|
}
|
|
180
188
|
|
|
@@ -128,6 +128,24 @@ export interface PatchedOAuthSourceRequest {
|
|
|
128
128
|
* @memberof PatchedOAuthSourceRequest
|
|
129
129
|
*/
|
|
130
130
|
additionalScopes?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof PatchedOAuthSourceRequest
|
|
135
|
+
*/
|
|
136
|
+
oidcWellKnownUrl?: string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof PatchedOAuthSourceRequest
|
|
141
|
+
*/
|
|
142
|
+
oidcJwksUrl?: string;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {{ [key: string]: any; }}
|
|
146
|
+
* @memberof PatchedOAuthSourceRequest
|
|
147
|
+
*/
|
|
148
|
+
oidcJwks?: { [key: string]: any; };
|
|
131
149
|
}
|
|
132
150
|
|
|
133
151
|
export function PatchedOAuthSourceRequestFromJSON(json: any): PatchedOAuthSourceRequest {
|
|
@@ -155,6 +173,9 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
155
173
|
'consumerKey': !exists(json, 'consumer_key') ? undefined : json['consumer_key'],
|
|
156
174
|
'consumerSecret': !exists(json, 'consumer_secret') ? undefined : json['consumer_secret'],
|
|
157
175
|
'additionalScopes': !exists(json, 'additional_scopes') ? undefined : json['additional_scopes'],
|
|
176
|
+
'oidcWellKnownUrl': !exists(json, 'oidc_well_known_url') ? undefined : json['oidc_well_known_url'],
|
|
177
|
+
'oidcJwksUrl': !exists(json, 'oidc_jwks_url') ? undefined : json['oidc_jwks_url'],
|
|
178
|
+
'oidcJwks': !exists(json, 'oidc_jwks') ? undefined : json['oidc_jwks'],
|
|
158
179
|
};
|
|
159
180
|
}
|
|
160
181
|
|
|
@@ -182,6 +203,9 @@ export function PatchedOAuthSourceRequestToJSON(value?: PatchedOAuthSourceReques
|
|
|
182
203
|
'consumer_key': value.consumerKey,
|
|
183
204
|
'consumer_secret': value.consumerSecret,
|
|
184
205
|
'additional_scopes': value.additionalScopes,
|
|
206
|
+
'oidc_well_known_url': value.oidcWellKnownUrl,
|
|
207
|
+
'oidc_jwks_url': value.oidcJwksUrl,
|
|
208
|
+
'oidc_jwks': value.oidcJwks,
|
|
185
209
|
};
|
|
186
210
|
}
|
|
187
211
|
|
package/src/models/User.ts
CHANGED