@goauthentik/api 2023.5.3-1687462221 → 2023.5.3-1687465529
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 +1 -0
- package/dist/apis/AdminApi.d.ts +8 -0
- package/dist/apis/AdminApi.js +28 -0
- package/dist/apis/PoliciesApi.d.ts +1 -0
- package/dist/apis/PoliciesApi.js +3 -0
- package/dist/apis/SourcesApi.d.ts +3 -0
- package/dist/apis/SourcesApi.js +9 -0
- package/dist/esm/apis/AdminApi.d.ts +8 -0
- package/dist/esm/apis/AdminApi.js +28 -0
- package/dist/esm/apis/PoliciesApi.d.ts +1 -0
- package/dist/esm/apis/PoliciesApi.js +3 -0
- package/dist/esm/apis/SourcesApi.d.ts +3 -0
- package/dist/esm/apis/SourcesApi.js +9 -0
- package/dist/esm/models/EventMatcherPolicy.d.ts +10 -3
- package/dist/esm/models/EventMatcherPolicy.js +3 -0
- package/dist/esm/models/EventMatcherPolicyRequest.d.ts +10 -3
- package/dist/esm/models/EventMatcherPolicyRequest.js +3 -0
- package/dist/esm/models/LDAPOutpostConfig.d.ts +8 -2
- package/dist/esm/models/LDAPOutpostConfig.js +2 -0
- package/dist/esm/models/LDAPProvider.d.ts +8 -2
- package/dist/esm/models/LDAPProvider.js +2 -0
- package/dist/esm/models/LDAPProviderRequest.d.ts +8 -2
- package/dist/esm/models/LDAPProviderRequest.js +2 -0
- package/dist/esm/models/LDAPSource.d.ts +12 -0
- package/dist/esm/models/LDAPSource.js +4 -0
- package/dist/esm/models/LDAPSourceRequest.d.ts +12 -0
- package/dist/esm/models/LDAPSourceRequest.js +4 -0
- package/dist/esm/models/ModelEnum.d.ts +161 -0
- package/dist/esm/models/ModelEnum.js +168 -0
- package/dist/esm/models/PatchedEventMatcherPolicyRequest.d.ts +10 -3
- package/dist/esm/models/PatchedEventMatcherPolicyRequest.js +3 -0
- package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +8 -2
- package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +7 -1
- package/dist/esm/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/esm/models/SAMLSource.d.ts +7 -1
- package/dist/esm/models/SAMLSource.js +2 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +7 -1
- package/dist/esm/models/SAMLSourceRequest.js +2 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/EventMatcherPolicy.d.ts +10 -3
- package/dist/models/EventMatcherPolicy.js +3 -0
- package/dist/models/EventMatcherPolicyRequest.d.ts +10 -3
- package/dist/models/EventMatcherPolicyRequest.js +3 -0
- package/dist/models/LDAPOutpostConfig.d.ts +8 -2
- package/dist/models/LDAPOutpostConfig.js +2 -0
- package/dist/models/LDAPProvider.d.ts +8 -2
- package/dist/models/LDAPProvider.js +2 -0
- package/dist/models/LDAPProviderRequest.d.ts +8 -2
- package/dist/models/LDAPProviderRequest.js +2 -0
- package/dist/models/LDAPSource.d.ts +12 -0
- package/dist/models/LDAPSource.js +4 -0
- package/dist/models/LDAPSourceRequest.d.ts +12 -0
- package/dist/models/LDAPSourceRequest.js +4 -0
- package/dist/models/ModelEnum.d.ts +161 -0
- package/dist/models/ModelEnum.js +174 -0
- package/dist/models/PatchedEventMatcherPolicyRequest.d.ts +10 -3
- package/dist/models/PatchedEventMatcherPolicyRequest.js +3 -0
- package/dist/models/PatchedLDAPProviderRequest.d.ts +8 -2
- package/dist/models/PatchedLDAPProviderRequest.js +2 -0
- package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -0
- package/dist/models/PatchedLDAPSourceRequest.js +4 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts +7 -1
- package/dist/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/models/SAMLSource.d.ts +7 -1
- package/dist/models/SAMLSource.js +2 -0
- package/dist/models/SAMLSourceRequest.d.ts +7 -1
- package/dist/models/SAMLSourceRequest.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +30 -0
- package/src/apis/PoliciesApi.ts +5 -0
- package/src/apis/SourcesApi.ts +15 -0
- package/src/models/EventMatcherPolicy.ts +17 -3
- package/src/models/EventMatcherPolicyRequest.ts +17 -3
- package/src/models/LDAPOutpostConfig.ts +10 -2
- package/src/models/LDAPProvider.ts +10 -2
- package/src/models/LDAPProviderRequest.ts +10 -2
- package/src/models/LDAPSource.ts +16 -0
- package/src/models/LDAPSourceRequest.ts +16 -0
- package/src/models/ModelEnum.ts +176 -0
- package/src/models/PatchedEventMatcherPolicyRequest.ts +17 -3
- package/src/models/PatchedLDAPProviderRequest.ts +10 -2
- package/src/models/PatchedLDAPSourceRequest.ts +16 -0
- package/src/models/PatchedSAMLSourceRequest.ts +9 -1
- package/src/models/SAMLSource.ts +9 -1
- package/src/models/SAMLSourceRequest.ts +9 -1
- package/src/models/index.ts +1 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.5.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
|
|
14
|
+
* * `authentik_events.event` - Event
|
|
15
|
+
* * `authentik_events.notificationtransport` - Notification Transport
|
|
16
|
+
* * `authentik_events.notification` - Notification
|
|
17
|
+
* * `authentik_events.notificationrule` - Notification Rule
|
|
18
|
+
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
19
|
+
* * `authentik_flows.flow` - Flow
|
|
20
|
+
* * `authentik_flows.flowstagebinding` - Flow Stage Binding
|
|
21
|
+
* * `authentik_outposts.dockerserviceconnection` - Docker Service-Connection
|
|
22
|
+
* * `authentik_outposts.kubernetesserviceconnection` - Kubernetes Service-Connection
|
|
23
|
+
* * `authentik_outposts.outpost` - outpost
|
|
24
|
+
* * `authentik_policies_dummy.dummypolicy` - Dummy Policy
|
|
25
|
+
* * `authentik_policies_event_matcher.eventmatcherpolicy` - Event Matcher Policy
|
|
26
|
+
* * `authentik_policies_expiry.passwordexpirypolicy` - Password Expiry Policy
|
|
27
|
+
* * `authentik_policies_expression.expressionpolicy` - Expression Policy
|
|
28
|
+
* * `authentik_policies_password.passwordpolicy` - Password Policy
|
|
29
|
+
* * `authentik_policies_reputation.reputationpolicy` - Reputation Policy
|
|
30
|
+
* * `authentik_policies_reputation.reputation` - reputation
|
|
31
|
+
* * `authentik_policies.policybinding` - Policy Binding
|
|
32
|
+
* * `authentik_providers_ldap.ldapprovider` - LDAP Provider
|
|
33
|
+
* * `authentik_providers_oauth2.scopemapping` - Scope Mapping
|
|
34
|
+
* * `authentik_providers_oauth2.oauth2provider` - OAuth2/OpenID Provider
|
|
35
|
+
* * `authentik_providers_oauth2.authorizationcode` - Authorization Code
|
|
36
|
+
* * `authentik_providers_oauth2.accesstoken` - OAuth2 Access Token
|
|
37
|
+
* * `authentik_providers_oauth2.refreshtoken` - OAuth2 Refresh Token
|
|
38
|
+
* * `authentik_providers_proxy.proxyprovider` - Proxy Provider
|
|
39
|
+
* * `authentik_providers_radius.radiusprovider` - Radius Provider
|
|
40
|
+
* * `authentik_providers_saml.samlprovider` - SAML Provider
|
|
41
|
+
* * `authentik_providers_saml.samlpropertymapping` - SAML Property Mapping
|
|
42
|
+
* * `authentik_providers_scim.scimprovider` - SCIM Provider
|
|
43
|
+
* * `authentik_providers_scim.scimmapping` - SCIM Mapping
|
|
44
|
+
* * `authentik_sources_ldap.ldapsource` - LDAP Source
|
|
45
|
+
* * `authentik_sources_ldap.ldappropertymapping` - LDAP Property Mapping
|
|
46
|
+
* * `authentik_sources_oauth.oauthsource` - OAuth Source
|
|
47
|
+
* * `authentik_sources_oauth.useroauthsourceconnection` - User OAuth Source Connection
|
|
48
|
+
* * `authentik_sources_plex.plexsource` - Plex Source
|
|
49
|
+
* * `authentik_sources_plex.plexsourceconnection` - User Plex Source Connection
|
|
50
|
+
* * `authentik_sources_saml.samlsource` - SAML Source
|
|
51
|
+
* * `authentik_sources_saml.usersamlsourceconnection` - User SAML Source Connection
|
|
52
|
+
* * `authentik_stages_authenticator_duo.authenticatorduostage` - Duo Authenticator Setup Stage
|
|
53
|
+
* * `authentik_stages_authenticator_duo.duodevice` - Duo Device
|
|
54
|
+
* * `authentik_stages_authenticator_sms.authenticatorsmsstage` - SMS Authenticator Setup Stage
|
|
55
|
+
* * `authentik_stages_authenticator_sms.smsdevice` - SMS Device
|
|
56
|
+
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Stage
|
|
57
|
+
* * `authentik_stages_authenticator_totp.authenticatortotpstage` - TOTP Authenticator Setup Stage
|
|
58
|
+
* * `authentik_stages_authenticator_validate.authenticatorvalidatestage` - Authenticator Validation Stage
|
|
59
|
+
* * `authentik_stages_authenticator_webauthn.authenticatewebauthnstage` - WebAuthn Authenticator Setup Stage
|
|
60
|
+
* * `authentik_stages_authenticator_webauthn.webauthndevice` - WebAuthn Device
|
|
61
|
+
* * `authentik_stages_captcha.captchastage` - Captcha Stage
|
|
62
|
+
* * `authentik_stages_consent.consentstage` - Consent Stage
|
|
63
|
+
* * `authentik_stages_consent.userconsent` - User Consent
|
|
64
|
+
* * `authentik_stages_deny.denystage` - Deny Stage
|
|
65
|
+
* * `authentik_stages_dummy.dummystage` - Dummy Stage
|
|
66
|
+
* * `authentik_stages_email.emailstage` - Email Stage
|
|
67
|
+
* * `authentik_stages_identification.identificationstage` - Identification Stage
|
|
68
|
+
* * `authentik_stages_invitation.invitationstage` - Invitation Stage
|
|
69
|
+
* * `authentik_stages_invitation.invitation` - Invitation
|
|
70
|
+
* * `authentik_stages_password.passwordstage` - Password Stage
|
|
71
|
+
* * `authentik_stages_prompt.prompt` - Prompt
|
|
72
|
+
* * `authentik_stages_prompt.promptstage` - Prompt Stage
|
|
73
|
+
* * `authentik_stages_user_delete.userdeletestage` - User Delete Stage
|
|
74
|
+
* * `authentik_stages_user_login.userloginstage` - User Login Stage
|
|
75
|
+
* * `authentik_stages_user_logout.userlogoutstage` - User Logout Stage
|
|
76
|
+
* * `authentik_stages_user_write.userwritestage` - User Write Stage
|
|
77
|
+
* * `authentik_tenants.tenant` - Tenant
|
|
78
|
+
* * `authentik_blueprints.blueprintinstance` - Blueprint Instance
|
|
79
|
+
* * `authentik_core.group` - group
|
|
80
|
+
* * `authentik_core.user` - User
|
|
81
|
+
* * `authentik_core.application` - Application
|
|
82
|
+
* * `authentik_core.token` - Token
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const ModelEnum: {
|
|
86
|
+
readonly CryptoCertificatekeypair: "authentik_crypto.certificatekeypair";
|
|
87
|
+
readonly EventsEvent: "authentik_events.event";
|
|
88
|
+
readonly EventsNotificationtransport: "authentik_events.notificationtransport";
|
|
89
|
+
readonly EventsNotification: "authentik_events.notification";
|
|
90
|
+
readonly EventsNotificationrule: "authentik_events.notificationrule";
|
|
91
|
+
readonly EventsNotificationwebhookmapping: "authentik_events.notificationwebhookmapping";
|
|
92
|
+
readonly FlowsFlow: "authentik_flows.flow";
|
|
93
|
+
readonly FlowsFlowstagebinding: "authentik_flows.flowstagebinding";
|
|
94
|
+
readonly OutpostsDockerserviceconnection: "authentik_outposts.dockerserviceconnection";
|
|
95
|
+
readonly OutpostsKubernetesserviceconnection: "authentik_outposts.kubernetesserviceconnection";
|
|
96
|
+
readonly OutpostsOutpost: "authentik_outposts.outpost";
|
|
97
|
+
readonly PoliciesDummyDummypolicy: "authentik_policies_dummy.dummypolicy";
|
|
98
|
+
readonly PoliciesEventMatcherEventmatcherpolicy: "authentik_policies_event_matcher.eventmatcherpolicy";
|
|
99
|
+
readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
|
|
100
|
+
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
|
101
|
+
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
|
102
|
+
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
|
103
|
+
readonly PoliciesReputationReputation: "authentik_policies_reputation.reputation";
|
|
104
|
+
readonly PoliciesPolicybinding: "authentik_policies.policybinding";
|
|
105
|
+
readonly ProvidersLdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
|
106
|
+
readonly ProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
|
|
107
|
+
readonly ProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
|
108
|
+
readonly ProvidersOauth2Authorizationcode: "authentik_providers_oauth2.authorizationcode";
|
|
109
|
+
readonly ProvidersOauth2Accesstoken: "authentik_providers_oauth2.accesstoken";
|
|
110
|
+
readonly ProvidersOauth2Refreshtoken: "authentik_providers_oauth2.refreshtoken";
|
|
111
|
+
readonly ProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
|
112
|
+
readonly ProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
113
|
+
readonly ProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
114
|
+
readonly ProvidersSamlSamlpropertymapping: "authentik_providers_saml.samlpropertymapping";
|
|
115
|
+
readonly ProvidersScimScimprovider: "authentik_providers_scim.scimprovider";
|
|
116
|
+
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|
|
117
|
+
readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
|
118
|
+
readonly SourcesLdapLdappropertymapping: "authentik_sources_ldap.ldappropertymapping";
|
|
119
|
+
readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
|
120
|
+
readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
|
121
|
+
readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
|
|
122
|
+
readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
|
|
123
|
+
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
|
124
|
+
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
|
125
|
+
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
126
|
+
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
127
|
+
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
128
|
+
readonly StagesAuthenticatorSmsSmsdevice: "authentik_stages_authenticator_sms.smsdevice";
|
|
129
|
+
readonly StagesAuthenticatorStaticAuthenticatorstaticstage: "authentik_stages_authenticator_static.authenticatorstaticstage";
|
|
130
|
+
readonly StagesAuthenticatorTotpAuthenticatortotpstage: "authentik_stages_authenticator_totp.authenticatortotpstage";
|
|
131
|
+
readonly StagesAuthenticatorValidateAuthenticatorvalidatestage: "authentik_stages_authenticator_validate.authenticatorvalidatestage";
|
|
132
|
+
readonly StagesAuthenticatorWebauthnAuthenticatewebauthnstage: "authentik_stages_authenticator_webauthn.authenticatewebauthnstage";
|
|
133
|
+
readonly StagesAuthenticatorWebauthnWebauthndevice: "authentik_stages_authenticator_webauthn.webauthndevice";
|
|
134
|
+
readonly StagesCaptchaCaptchastage: "authentik_stages_captcha.captchastage";
|
|
135
|
+
readonly StagesConsentConsentstage: "authentik_stages_consent.consentstage";
|
|
136
|
+
readonly StagesConsentUserconsent: "authentik_stages_consent.userconsent";
|
|
137
|
+
readonly StagesDenyDenystage: "authentik_stages_deny.denystage";
|
|
138
|
+
readonly StagesDummyDummystage: "authentik_stages_dummy.dummystage";
|
|
139
|
+
readonly StagesEmailEmailstage: "authentik_stages_email.emailstage";
|
|
140
|
+
readonly StagesIdentificationIdentificationstage: "authentik_stages_identification.identificationstage";
|
|
141
|
+
readonly StagesInvitationInvitationstage: "authentik_stages_invitation.invitationstage";
|
|
142
|
+
readonly StagesInvitationInvitation: "authentik_stages_invitation.invitation";
|
|
143
|
+
readonly StagesPasswordPasswordstage: "authentik_stages_password.passwordstage";
|
|
144
|
+
readonly StagesPromptPrompt: "authentik_stages_prompt.prompt";
|
|
145
|
+
readonly StagesPromptPromptstage: "authentik_stages_prompt.promptstage";
|
|
146
|
+
readonly StagesUserDeleteUserdeletestage: "authentik_stages_user_delete.userdeletestage";
|
|
147
|
+
readonly StagesUserLoginUserloginstage: "authentik_stages_user_login.userloginstage";
|
|
148
|
+
readonly StagesUserLogoutUserlogoutstage: "authentik_stages_user_logout.userlogoutstage";
|
|
149
|
+
readonly StagesUserWriteUserwritestage: "authentik_stages_user_write.userwritestage";
|
|
150
|
+
readonly TenantsTenant: "authentik_tenants.tenant";
|
|
151
|
+
readonly BlueprintsBlueprintinstance: "authentik_blueprints.blueprintinstance";
|
|
152
|
+
readonly CoreGroup: "authentik_core.group";
|
|
153
|
+
readonly CoreUser: "authentik_core.user";
|
|
154
|
+
readonly CoreApplication: "authentik_core.application";
|
|
155
|
+
readonly CoreToken: "authentik_core.token";
|
|
156
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
157
|
+
};
|
|
158
|
+
export type ModelEnum = typeof ModelEnum[keyof typeof ModelEnum];
|
|
159
|
+
export declare function ModelEnumFromJSON(json: any): ModelEnum;
|
|
160
|
+
export declare function ModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelEnum;
|
|
161
|
+
export declare function ModelEnumToJSON(value?: ModelEnum | null): any;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.5.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
|
|
16
|
+
* * `authentik_events.event` - Event
|
|
17
|
+
* * `authentik_events.notificationtransport` - Notification Transport
|
|
18
|
+
* * `authentik_events.notification` - Notification
|
|
19
|
+
* * `authentik_events.notificationrule` - Notification Rule
|
|
20
|
+
* * `authentik_events.notificationwebhookmapping` - Webhook Mapping
|
|
21
|
+
* * `authentik_flows.flow` - Flow
|
|
22
|
+
* * `authentik_flows.flowstagebinding` - Flow Stage Binding
|
|
23
|
+
* * `authentik_outposts.dockerserviceconnection` - Docker Service-Connection
|
|
24
|
+
* * `authentik_outposts.kubernetesserviceconnection` - Kubernetes Service-Connection
|
|
25
|
+
* * `authentik_outposts.outpost` - outpost
|
|
26
|
+
* * `authentik_policies_dummy.dummypolicy` - Dummy Policy
|
|
27
|
+
* * `authentik_policies_event_matcher.eventmatcherpolicy` - Event Matcher Policy
|
|
28
|
+
* * `authentik_policies_expiry.passwordexpirypolicy` - Password Expiry Policy
|
|
29
|
+
* * `authentik_policies_expression.expressionpolicy` - Expression Policy
|
|
30
|
+
* * `authentik_policies_password.passwordpolicy` - Password Policy
|
|
31
|
+
* * `authentik_policies_reputation.reputationpolicy` - Reputation Policy
|
|
32
|
+
* * `authentik_policies_reputation.reputation` - reputation
|
|
33
|
+
* * `authentik_policies.policybinding` - Policy Binding
|
|
34
|
+
* * `authentik_providers_ldap.ldapprovider` - LDAP Provider
|
|
35
|
+
* * `authentik_providers_oauth2.scopemapping` - Scope Mapping
|
|
36
|
+
* * `authentik_providers_oauth2.oauth2provider` - OAuth2/OpenID Provider
|
|
37
|
+
* * `authentik_providers_oauth2.authorizationcode` - Authorization Code
|
|
38
|
+
* * `authentik_providers_oauth2.accesstoken` - OAuth2 Access Token
|
|
39
|
+
* * `authentik_providers_oauth2.refreshtoken` - OAuth2 Refresh Token
|
|
40
|
+
* * `authentik_providers_proxy.proxyprovider` - Proxy Provider
|
|
41
|
+
* * `authentik_providers_radius.radiusprovider` - Radius Provider
|
|
42
|
+
* * `authentik_providers_saml.samlprovider` - SAML Provider
|
|
43
|
+
* * `authentik_providers_saml.samlpropertymapping` - SAML Property Mapping
|
|
44
|
+
* * `authentik_providers_scim.scimprovider` - SCIM Provider
|
|
45
|
+
* * `authentik_providers_scim.scimmapping` - SCIM Mapping
|
|
46
|
+
* * `authentik_sources_ldap.ldapsource` - LDAP Source
|
|
47
|
+
* * `authentik_sources_ldap.ldappropertymapping` - LDAP Property Mapping
|
|
48
|
+
* * `authentik_sources_oauth.oauthsource` - OAuth Source
|
|
49
|
+
* * `authentik_sources_oauth.useroauthsourceconnection` - User OAuth Source Connection
|
|
50
|
+
* * `authentik_sources_plex.plexsource` - Plex Source
|
|
51
|
+
* * `authentik_sources_plex.plexsourceconnection` - User Plex Source Connection
|
|
52
|
+
* * `authentik_sources_saml.samlsource` - SAML Source
|
|
53
|
+
* * `authentik_sources_saml.usersamlsourceconnection` - User SAML Source Connection
|
|
54
|
+
* * `authentik_stages_authenticator_duo.authenticatorduostage` - Duo Authenticator Setup Stage
|
|
55
|
+
* * `authentik_stages_authenticator_duo.duodevice` - Duo Device
|
|
56
|
+
* * `authentik_stages_authenticator_sms.authenticatorsmsstage` - SMS Authenticator Setup Stage
|
|
57
|
+
* * `authentik_stages_authenticator_sms.smsdevice` - SMS Device
|
|
58
|
+
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Stage
|
|
59
|
+
* * `authentik_stages_authenticator_totp.authenticatortotpstage` - TOTP Authenticator Setup Stage
|
|
60
|
+
* * `authentik_stages_authenticator_validate.authenticatorvalidatestage` - Authenticator Validation Stage
|
|
61
|
+
* * `authentik_stages_authenticator_webauthn.authenticatewebauthnstage` - WebAuthn Authenticator Setup Stage
|
|
62
|
+
* * `authentik_stages_authenticator_webauthn.webauthndevice` - WebAuthn Device
|
|
63
|
+
* * `authentik_stages_captcha.captchastage` - Captcha Stage
|
|
64
|
+
* * `authentik_stages_consent.consentstage` - Consent Stage
|
|
65
|
+
* * `authentik_stages_consent.userconsent` - User Consent
|
|
66
|
+
* * `authentik_stages_deny.denystage` - Deny Stage
|
|
67
|
+
* * `authentik_stages_dummy.dummystage` - Dummy Stage
|
|
68
|
+
* * `authentik_stages_email.emailstage` - Email Stage
|
|
69
|
+
* * `authentik_stages_identification.identificationstage` - Identification Stage
|
|
70
|
+
* * `authentik_stages_invitation.invitationstage` - Invitation Stage
|
|
71
|
+
* * `authentik_stages_invitation.invitation` - Invitation
|
|
72
|
+
* * `authentik_stages_password.passwordstage` - Password Stage
|
|
73
|
+
* * `authentik_stages_prompt.prompt` - Prompt
|
|
74
|
+
* * `authentik_stages_prompt.promptstage` - Prompt Stage
|
|
75
|
+
* * `authentik_stages_user_delete.userdeletestage` - User Delete Stage
|
|
76
|
+
* * `authentik_stages_user_login.userloginstage` - User Login Stage
|
|
77
|
+
* * `authentik_stages_user_logout.userlogoutstage` - User Logout Stage
|
|
78
|
+
* * `authentik_stages_user_write.userwritestage` - User Write Stage
|
|
79
|
+
* * `authentik_tenants.tenant` - Tenant
|
|
80
|
+
* * `authentik_blueprints.blueprintinstance` - Blueprint Instance
|
|
81
|
+
* * `authentik_core.group` - group
|
|
82
|
+
* * `authentik_core.user` - User
|
|
83
|
+
* * `authentik_core.application` - Application
|
|
84
|
+
* * `authentik_core.token` - Token
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export const ModelEnum = {
|
|
88
|
+
CryptoCertificatekeypair: 'authentik_crypto.certificatekeypair',
|
|
89
|
+
EventsEvent: 'authentik_events.event',
|
|
90
|
+
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
91
|
+
EventsNotification: 'authentik_events.notification',
|
|
92
|
+
EventsNotificationrule: 'authentik_events.notificationrule',
|
|
93
|
+
EventsNotificationwebhookmapping: 'authentik_events.notificationwebhookmapping',
|
|
94
|
+
FlowsFlow: 'authentik_flows.flow',
|
|
95
|
+
FlowsFlowstagebinding: 'authentik_flows.flowstagebinding',
|
|
96
|
+
OutpostsDockerserviceconnection: 'authentik_outposts.dockerserviceconnection',
|
|
97
|
+
OutpostsKubernetesserviceconnection: 'authentik_outposts.kubernetesserviceconnection',
|
|
98
|
+
OutpostsOutpost: 'authentik_outposts.outpost',
|
|
99
|
+
PoliciesDummyDummypolicy: 'authentik_policies_dummy.dummypolicy',
|
|
100
|
+
PoliciesEventMatcherEventmatcherpolicy: 'authentik_policies_event_matcher.eventmatcherpolicy',
|
|
101
|
+
PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
|
|
102
|
+
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
|
103
|
+
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
|
104
|
+
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
|
105
|
+
PoliciesReputationReputation: 'authentik_policies_reputation.reputation',
|
|
106
|
+
PoliciesPolicybinding: 'authentik_policies.policybinding',
|
|
107
|
+
ProvidersLdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
|
108
|
+
ProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
|
|
109
|
+
ProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
|
110
|
+
ProvidersOauth2Authorizationcode: 'authentik_providers_oauth2.authorizationcode',
|
|
111
|
+
ProvidersOauth2Accesstoken: 'authentik_providers_oauth2.accesstoken',
|
|
112
|
+
ProvidersOauth2Refreshtoken: 'authentik_providers_oauth2.refreshtoken',
|
|
113
|
+
ProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
|
114
|
+
ProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
|
|
115
|
+
ProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
|
|
116
|
+
ProvidersSamlSamlpropertymapping: 'authentik_providers_saml.samlpropertymapping',
|
|
117
|
+
ProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
|
|
118
|
+
ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
|
|
119
|
+
SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
|
120
|
+
SourcesLdapLdappropertymapping: 'authentik_sources_ldap.ldappropertymapping',
|
|
121
|
+
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
|
122
|
+
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
|
123
|
+
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
|
124
|
+
SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
|
|
125
|
+
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
126
|
+
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
127
|
+
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
128
|
+
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
129
|
+
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
130
|
+
StagesAuthenticatorSmsSmsdevice: 'authentik_stages_authenticator_sms.smsdevice',
|
|
131
|
+
StagesAuthenticatorStaticAuthenticatorstaticstage: 'authentik_stages_authenticator_static.authenticatorstaticstage',
|
|
132
|
+
StagesAuthenticatorTotpAuthenticatortotpstage: 'authentik_stages_authenticator_totp.authenticatortotpstage',
|
|
133
|
+
StagesAuthenticatorValidateAuthenticatorvalidatestage: 'authentik_stages_authenticator_validate.authenticatorvalidatestage',
|
|
134
|
+
StagesAuthenticatorWebauthnAuthenticatewebauthnstage: 'authentik_stages_authenticator_webauthn.authenticatewebauthnstage',
|
|
135
|
+
StagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
|
|
136
|
+
StagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
|
|
137
|
+
StagesConsentConsentstage: 'authentik_stages_consent.consentstage',
|
|
138
|
+
StagesConsentUserconsent: 'authentik_stages_consent.userconsent',
|
|
139
|
+
StagesDenyDenystage: 'authentik_stages_deny.denystage',
|
|
140
|
+
StagesDummyDummystage: 'authentik_stages_dummy.dummystage',
|
|
141
|
+
StagesEmailEmailstage: 'authentik_stages_email.emailstage',
|
|
142
|
+
StagesIdentificationIdentificationstage: 'authentik_stages_identification.identificationstage',
|
|
143
|
+
StagesInvitationInvitationstage: 'authentik_stages_invitation.invitationstage',
|
|
144
|
+
StagesInvitationInvitation: 'authentik_stages_invitation.invitation',
|
|
145
|
+
StagesPasswordPasswordstage: 'authentik_stages_password.passwordstage',
|
|
146
|
+
StagesPromptPrompt: 'authentik_stages_prompt.prompt',
|
|
147
|
+
StagesPromptPromptstage: 'authentik_stages_prompt.promptstage',
|
|
148
|
+
StagesUserDeleteUserdeletestage: 'authentik_stages_user_delete.userdeletestage',
|
|
149
|
+
StagesUserLoginUserloginstage: 'authentik_stages_user_login.userloginstage',
|
|
150
|
+
StagesUserLogoutUserlogoutstage: 'authentik_stages_user_logout.userlogoutstage',
|
|
151
|
+
StagesUserWriteUserwritestage: 'authentik_stages_user_write.userwritestage',
|
|
152
|
+
TenantsTenant: 'authentik_tenants.tenant',
|
|
153
|
+
BlueprintsBlueprintinstance: 'authentik_blueprints.blueprintinstance',
|
|
154
|
+
CoreGroup: 'authentik_core.group',
|
|
155
|
+
CoreUser: 'authentik_core.user',
|
|
156
|
+
CoreApplication: 'authentik_core.application',
|
|
157
|
+
CoreToken: 'authentik_core.token',
|
|
158
|
+
UnknownDefaultOpenApi: '11184809'
|
|
159
|
+
};
|
|
160
|
+
export function ModelEnumFromJSON(json) {
|
|
161
|
+
return ModelEnumFromJSONTyped(json, false);
|
|
162
|
+
}
|
|
163
|
+
export function ModelEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
164
|
+
return json;
|
|
165
|
+
}
|
|
166
|
+
export function ModelEnumToJSON(value) {
|
|
167
|
+
return value;
|
|
168
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AppEnum } from './AppEnum';
|
|
13
13
|
import type { EventActions } from './EventActions';
|
|
14
|
+
import type { ModelEnum } from './ModelEnum';
|
|
14
15
|
/**
|
|
15
16
|
* Event Matcher Policy Serializer
|
|
16
17
|
* @export
|
|
@@ -34,19 +35,25 @@ export interface PatchedEventMatcherPolicyRequest {
|
|
|
34
35
|
* @type {EventActions}
|
|
35
36
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
36
37
|
*/
|
|
37
|
-
action?: EventActions;
|
|
38
|
+
action?: EventActions | null;
|
|
38
39
|
/**
|
|
39
40
|
* Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
|
|
40
41
|
* @type {string}
|
|
41
42
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
42
43
|
*/
|
|
43
|
-
clientIp?: string;
|
|
44
|
+
clientIp?: string | null;
|
|
44
45
|
/**
|
|
45
46
|
*
|
|
46
47
|
* @type {AppEnum}
|
|
47
48
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
48
49
|
*/
|
|
49
|
-
app?: AppEnum;
|
|
50
|
+
app?: AppEnum | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {ModelEnum}
|
|
54
|
+
* @memberof PatchedEventMatcherPolicyRequest
|
|
55
|
+
*/
|
|
56
|
+
model?: ModelEnum | null;
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { AppEnumFromJSON, AppEnumToJSON, } from './AppEnum';
|
|
16
16
|
import { EventActionsFromJSON, EventActionsToJSON, } from './EventActions';
|
|
17
|
+
import { ModelEnumFromJSON, ModelEnumToJSON, } from './ModelEnum';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
|
|
19
20
|
*/
|
|
@@ -34,6 +35,7 @@ export function PatchedEventMatcherPolicyRequestFromJSONTyped(json, ignoreDiscri
|
|
|
34
35
|
'action': !exists(json, 'action') ? undefined : EventActionsFromJSON(json['action']),
|
|
35
36
|
'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
|
|
36
37
|
'app': !exists(json, 'app') ? undefined : AppEnumFromJSON(json['app']),
|
|
38
|
+
'model': !exists(json, 'model') ? undefined : ModelEnumFromJSON(json['model']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
export function PatchedEventMatcherPolicyRequestToJSON(value) {
|
|
@@ -49,5 +51,6 @@ export function PatchedEventMatcherPolicyRequestToJSON(value) {
|
|
|
49
51
|
'action': EventActionsToJSON(value.action),
|
|
50
52
|
'client_ip': value.clientIp,
|
|
51
53
|
'app': AppEnumToJSON(value.app),
|
|
54
|
+
'model': ModelEnumToJSON(value.model),
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -65,13 +65,13 @@ export interface PatchedLDAPProviderRequest {
|
|
|
65
65
|
*/
|
|
66
66
|
tlsServerName?: string;
|
|
67
67
|
/**
|
|
68
|
-
* The start for uidNumbers, this number is added to the user.
|
|
68
|
+
* The start for uidNumbers, this number is added to the user.pk to make sure that the numbers aren't too low for POSIX users. Default is 2000 to ensure that we don't collide with local users uidNumber
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof PatchedLDAPProviderRequest
|
|
71
71
|
*/
|
|
72
72
|
uidStartNumber?: number;
|
|
73
73
|
/**
|
|
74
|
-
* The start for gidNumbers, this number is added to a number generated from the group.
|
|
74
|
+
* The start for gidNumbers, this number is added to a number generated from the group.pk to make sure that the numbers aren't too low for POSIX groups. Default is 4000 to ensure that we don't collide with local groups or users primary groups gidNumber
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof PatchedLDAPProviderRequest
|
|
77
77
|
*/
|
|
@@ -88,6 +88,12 @@ export interface PatchedLDAPProviderRequest {
|
|
|
88
88
|
* @memberof PatchedLDAPProviderRequest
|
|
89
89
|
*/
|
|
90
90
|
bindMode?: LDAPAPIAccessMode;
|
|
91
|
+
/**
|
|
92
|
+
* When enabled, code-based multi-factor authentication can be used by appending a semicolon and the TOTP code to the password. This should only be enabled if all users that will bind to this provider have a TOTP device configured, as otherwise a password may incorrectly be rejected if it contains a semicolon.
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof PatchedLDAPProviderRequest
|
|
95
|
+
*/
|
|
96
|
+
mfaSupport?: boolean;
|
|
91
97
|
}
|
|
92
98
|
/**
|
|
93
99
|
* Check if a given object implements the PatchedLDAPProviderRequest interface.
|
|
@@ -40,6 +40,7 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
40
40
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
41
41
|
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
42
42
|
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
43
|
+
'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
export function PatchedLDAPProviderRequestToJSON(value) {
|
|
@@ -62,5 +63,6 @@ export function PatchedLDAPProviderRequestToJSON(value) {
|
|
|
62
63
|
'gid_start_number': value.gidStartNumber,
|
|
63
64
|
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
64
65
|
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
66
|
+
'mfa_support': value.mfaSupport,
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -77,6 +77,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
77
77
|
* @memberof PatchedLDAPSourceRequest
|
|
78
78
|
*/
|
|
79
79
|
peerCertificate?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Client certificate to authenticate against the LDAP Server's Certificate.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof PatchedLDAPSourceRequest
|
|
84
|
+
*/
|
|
85
|
+
clientCertificate?: string | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {string}
|
|
@@ -95,6 +101,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
95
101
|
* @memberof PatchedLDAPSourceRequest
|
|
96
102
|
*/
|
|
97
103
|
startTls?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof PatchedLDAPSourceRequest
|
|
108
|
+
*/
|
|
109
|
+
sni?: boolean;
|
|
98
110
|
/**
|
|
99
111
|
*
|
|
100
112
|
* @type {string}
|
|
@@ -39,9 +39,11 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
39
39
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
40
40
|
'serverUri': !exists(json, 'server_uri') ? undefined : json['server_uri'],
|
|
41
41
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
42
|
+
'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
|
|
42
43
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
43
44
|
'bindPassword': !exists(json, 'bind_password') ? undefined : json['bind_password'],
|
|
44
45
|
'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
|
|
46
|
+
'sni': !exists(json, 'sni') ? undefined : json['sni'],
|
|
45
47
|
'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
|
|
46
48
|
'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
|
|
47
49
|
'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
|
|
@@ -75,9 +77,11 @@ export function PatchedLDAPSourceRequestToJSON(value) {
|
|
|
75
77
|
'user_path_template': value.userPathTemplate,
|
|
76
78
|
'server_uri': value.serverUri,
|
|
77
79
|
'peer_certificate': value.peerCertificate,
|
|
80
|
+
'client_certificate': value.clientCertificate,
|
|
78
81
|
'bind_cn': value.bindCn,
|
|
79
82
|
'bind_password': value.bindPassword,
|
|
80
83
|
'start_tls': value.startTls,
|
|
84
|
+
'sni': value.sni,
|
|
81
85
|
'base_dn': value.baseDn,
|
|
82
86
|
'additional_user_dn': value.additionalUserDn,
|
|
83
87
|
'additional_group_dn': value.additionalGroupDn,
|
|
@@ -112,7 +112,13 @@ export interface PatchedSAMLSourceRequest {
|
|
|
112
112
|
*/
|
|
113
113
|
bindingType?: BindingTypeEnum;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* When selected, incoming assertion's Signatures will be validated against this certificate. To allow unsigned Requests, leave on default.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PatchedSAMLSourceRequest
|
|
118
|
+
*/
|
|
119
|
+
verificationKp?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
116
122
|
* @type {string}
|
|
117
123
|
* @memberof PatchedSAMLSourceRequest
|
|
118
124
|
*/
|
|
@@ -48,6 +48,7 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
48
48
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
49
49
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
50
50
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
51
|
+
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
51
52
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
52
53
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
53
54
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -77,6 +78,7 @@ export function PatchedSAMLSourceRequestToJSON(value) {
|
|
|
77
78
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
78
79
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
79
80
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
81
|
+
'verification_kp': value.verificationKp,
|
|
80
82
|
'signing_kp': value.signingKp,
|
|
81
83
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
82
84
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -155,7 +155,13 @@ export interface SAMLSource {
|
|
|
155
155
|
*/
|
|
156
156
|
bindingType?: BindingTypeEnum;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* When selected, incoming assertion's Signatures will be validated against this certificate. To allow unsigned Requests, leave on default.
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof SAMLSource
|
|
161
|
+
*/
|
|
162
|
+
verificationKp?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
159
165
|
* @type {string}
|
|
160
166
|
* @memberof SAMLSource
|
|
161
167
|
*/
|
|
@@ -66,6 +66,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
67
67
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
68
68
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
69
|
+
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
69
70
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
70
71
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
71
72
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -95,6 +96,7 @@ export function SAMLSourceToJSON(value) {
|
|
|
95
96
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
96
97
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
97
98
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
99
|
+
'verification_kp': value.verificationKp,
|
|
98
100
|
'signing_kp': value.signingKp,
|
|
99
101
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
100
102
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -112,7 +112,13 @@ export interface SAMLSourceRequest {
|
|
|
112
112
|
*/
|
|
113
113
|
bindingType?: BindingTypeEnum;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* When selected, incoming assertion's Signatures will be validated against this certificate. To allow unsigned Requests, leave on default.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof SAMLSourceRequest
|
|
118
|
+
*/
|
|
119
|
+
verificationKp?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
116
122
|
* @type {string}
|
|
117
123
|
* @memberof SAMLSourceRequest
|
|
118
124
|
*/
|
|
@@ -52,6 +52,7 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
53
53
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
54
54
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
55
|
+
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
55
56
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
56
57
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
57
58
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -81,6 +82,7 @@ export function SAMLSourceRequestToJSON(value) {
|
|
|
81
82
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
82
83
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
83
84
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
85
|
+
'verification_kp': value.verificationKp,
|
|
84
86
|
'signing_kp': value.signingKp,
|
|
85
87
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
86
88
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -154,6 +154,7 @@ export * from './LoginChallengeTypes';
|
|
|
154
154
|
export * from './LoginMetrics';
|
|
155
155
|
export * from './LoginSource';
|
|
156
156
|
export * from './Metadata';
|
|
157
|
+
export * from './ModelEnum';
|
|
157
158
|
export * from './NameIdPolicyEnum';
|
|
158
159
|
export * from './NotConfiguredActionEnum';
|
|
159
160
|
export * from './Notification';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -156,6 +156,7 @@ export * from './LoginChallengeTypes';
|
|
|
156
156
|
export * from './LoginMetrics';
|
|
157
157
|
export * from './LoginSource';
|
|
158
158
|
export * from './Metadata';
|
|
159
|
+
export * from './ModelEnum';
|
|
159
160
|
export * from './NameIdPolicyEnum';
|
|
160
161
|
export * from './NotConfiguredActionEnum';
|
|
161
162
|
export * from './Notification';
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AppEnum } from './AppEnum';
|
|
13
13
|
import type { EventActions } from './EventActions';
|
|
14
|
+
import type { ModelEnum } from './ModelEnum';
|
|
14
15
|
/**
|
|
15
16
|
* Event Matcher Policy Serializer
|
|
16
17
|
* @export
|
|
@@ -70,19 +71,25 @@ export interface EventMatcherPolicy {
|
|
|
70
71
|
* @type {EventActions}
|
|
71
72
|
* @memberof EventMatcherPolicy
|
|
72
73
|
*/
|
|
73
|
-
action?: EventActions;
|
|
74
|
+
action?: EventActions | null;
|
|
74
75
|
/**
|
|
75
76
|
* Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
|
|
76
77
|
* @type {string}
|
|
77
78
|
* @memberof EventMatcherPolicy
|
|
78
79
|
*/
|
|
79
|
-
clientIp?: string;
|
|
80
|
+
clientIp?: string | null;
|
|
80
81
|
/**
|
|
81
82
|
*
|
|
82
83
|
* @type {AppEnum}
|
|
83
84
|
* @memberof EventMatcherPolicy
|
|
84
85
|
*/
|
|
85
|
-
app?: AppEnum;
|
|
86
|
+
app?: AppEnum | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {ModelEnum}
|
|
90
|
+
* @memberof EventMatcherPolicy
|
|
91
|
+
*/
|
|
92
|
+
model?: ModelEnum | null;
|
|
86
93
|
}
|
|
87
94
|
/**
|
|
88
95
|
* Check if a given object implements the EventMatcherPolicy interface.
|