Skip to content

Commit 5d3bc94

Browse files
Update API Client
#### What's Changed --- ##### `GET` /sources/oauth/{slug}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ##### `PUT` /sources/oauth/{slug}/ ###### Request: Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ##### `PATCH` /sources/oauth/{slug}/ ###### Request: Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ##### `POST` /sources/oauth/ ###### Request: Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ##### `GET` /sources/oauth/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > OAuth Source Serializer * Changed property `provider_type` (string) > * `apple` - Apple > * `openidconnect` - OpenID Connect > * `azuread` - Azure AD > * `discord` - Discord > * `facebook` - Facebook > * `github` - GitHub > * `google` - Google > * `mailcow` - Mailcow > * `okta` - Okta > * `patreon` - Patreon > * `reddit` - Reddit > * `twitch` - Twitch > * `twitter` - Twitter ##### `GET` /stages/user_login/{stage_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip Enum values: * `no_binding` * `bind_asn` * `bind_asn_network` * `bind_asn_network_ip` * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City Enum values: * `no_binding` * `bind_continent` * `bind_continent_country` * `bind_continent_country_city` ##### `PUT` /stages/user_login/{stage_uuid}/ ###### Request: Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ##### `PATCH` /stages/user_login/{stage_uuid}/ ###### Request: Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ##### `POST` /stages/user_login/ ###### Request: Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City ##### `GET` /stages/user_login/ ###### Parameters: Added: `geoip_binding` in `query` > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City Added: `network_binding` in `query` > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > UserLoginStage Serializer * Added property `network_binding` (object) > Bind sessions created by this stage to the configured network > > * `no_binding` - No Binding > * `bind_asn` - Bind Asn > * `bind_asn_network` - Bind Asn Network > * `bind_asn_network_ip` - Bind Asn Network Ip * Added property `geoip_binding` (object) > Bind sessions created by this stage to the configured GeoIP location > > * `no_binding` - No Binding > * `bind_continent` - Bind Continent > * `bind_continent_country` - Bind Continent Country > * `bind_continent_country_city` - Bind Continent Country City
1 parent 305698d commit 5d3bc94

18 files changed

+931
-11
lines changed

.openapi-generator/FILES

+4
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ docs/FlowStageBindingRequest.md
159159
docs/FlowsApi.md
160160
docs/FooterLink.md
161161
docs/GenericError.md
162+
docs/GeoipBindingEnum.md
162163
docs/Group.md
163164
docs/GroupMember.md
164165
docs/GroupMemberRequest.md
@@ -200,6 +201,7 @@ docs/Metadata.md
200201
docs/ModelEnum.md
201202
docs/ModelRequest.md
202203
docs/NameIdPolicyEnum.md
204+
docs/NetworkBindingEnum.md
203205
docs/NotConfiguredActionEnum.md
204206
docs/Notification.md
205207
docs/NotificationRequest.md
@@ -680,6 +682,7 @@ model_flow_stage_binding.go
680682
model_flow_stage_binding_request.go
681683
model_footer_link.go
682684
model_generic_error.go
685+
model_geoip_binding_enum.go
683686
model_group.go
684687
model_group_member.go
685688
model_group_member_request.go
@@ -720,6 +723,7 @@ model_metadata.go
720723
model_model_enum.go
721724
model_model_request.go
722725
model_name_id_policy_enum.go
726+
model_network_binding_enum.go
723727
model_not_configured_action_enum.go
724728
model_notification.go
725729
model_notification_request.go

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ Class | Method | HTTP request | Description
839839
- [FlowStageBindingRequest](docs/FlowStageBindingRequest.md)
840840
- [FooterLink](docs/FooterLink.md)
841841
- [GenericError](docs/GenericError.md)
842+
- [GeoipBindingEnum](docs/GeoipBindingEnum.md)
842843
- [Group](docs/Group.md)
843844
- [GroupMember](docs/GroupMember.md)
844845
- [GroupMemberRequest](docs/GroupMemberRequest.md)
@@ -879,6 +880,7 @@ Class | Method | HTTP request | Description
879880
- [ModelEnum](docs/ModelEnum.md)
880881
- [ModelRequest](docs/ModelRequest.md)
881882
- [NameIdPolicyEnum](docs/NameIdPolicyEnum.md)
883+
- [NetworkBindingEnum](docs/NetworkBindingEnum.md)
882884
- [NotConfiguredActionEnum](docs/NotConfiguredActionEnum.md)
883885
- [Notification](docs/Notification.md)
884886
- [NotificationRequest](docs/NotificationRequest.md)

api/openapi.yaml

+134-2
Original file line numberDiff line numberDiff line change
@@ -30036,13 +30036,51 @@ paths:
3003630036
description: UserLoginStage Viewset
3003730037
operationId: stages_user_login_list
3003830038
parameters:
30039+
- description: |-
30040+
Bind sessions created by this stage to the configured GeoIP location
30041+
30042+
* `no_binding` - No Binding
30043+
* `bind_continent` - Bind Continent
30044+
* `bind_continent_country` - Bind Continent Country
30045+
* `bind_continent_country_city` - Bind Continent Country City
30046+
explode: true
30047+
in: query
30048+
name: geoip_binding
30049+
required: false
30050+
schema:
30051+
enum:
30052+
- bind_continent
30053+
- bind_continent_country
30054+
- bind_continent_country_city
30055+
- no_binding
30056+
type: string
30057+
style: form
3003930058
- explode: true
3004030059
in: query
3004130060
name: name
3004230061
required: false
3004330062
schema:
3004430063
type: string
3004530064
style: form
30065+
- description: |-
30066+
Bind sessions created by this stage to the configured network
30067+
30068+
* `no_binding` - No Binding
30069+
* `bind_asn` - Bind Asn
30070+
* `bind_asn_network` - Bind Asn Network
30071+
* `bind_asn_network_ip` - Bind Asn Network Ip
30072+
explode: true
30073+
in: query
30074+
name: network_binding
30075+
required: false
30076+
schema:
30077+
enum:
30078+
- bind_asn
30079+
- bind_asn_network
30080+
- bind_asn_network_ip
30081+
- no_binding
30082+
type: string
30083+
style: form
3004630084
- description: Which field to use when ordering the results.
3004730085
explode: true
3004830086
in: query
@@ -36092,6 +36130,18 @@ components:
3609236130
required:
3609336131
- detail
3609436132
type: object
36133+
GeoipBindingEnum:
36134+
description: |-
36135+
* `no_binding` - No Binding
36136+
* `bind_continent` - Bind Continent
36137+
* `bind_continent_country` - Bind Continent Country
36138+
* `bind_continent_country_city` - Bind Continent Country City
36139+
enum:
36140+
- no_binding
36141+
- bind_continent
36142+
- bind_continent_country
36143+
- bind_continent_country_city
36144+
type: string
3609536145
Group:
3609636146
description: Group Serializer
3609736147
example:
@@ -38115,6 +38165,18 @@ components:
3811538165
- urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName
3811638166
- urn:oasis:names:tc:SAML:2.0:nameid-format:transient
3811738167
type: string
38168+
NetworkBindingEnum:
38169+
description: |-
38170+
* `no_binding` - No Binding
38171+
* `bind_asn` - Bind Asn
38172+
* `bind_asn_network` - Bind Asn Network
38173+
* `bind_asn_network_ip` - Bind Asn Network Ip
38174+
enum:
38175+
- no_binding
38176+
- bind_asn
38177+
- bind_asn_network
38178+
- bind_asn_network_ip
38179+
type: string
3811838180
NotConfiguredActionEnum:
3811938181
description: |-
3812038182
* `skip` - Skip
@@ -44849,6 +44911,7 @@ components:
4484944911
remember_me_offset: remember_me_offset
4485044912
name: name
4485144913
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
44914+
network_binding: ""
4485244915
flow_set:
4485344916
- policy_engine_mode: null
4485444917
compatibility_mode: true
@@ -44874,6 +44937,7 @@ components:
4487444937
designation: ""
4487544938
title: title
4487644939
slug: slug
44940+
geoip_binding: ""
4487744941
session_duration: session_duration
4487844942
- terminate_other_sessions: true
4487944943
component: component
@@ -44883,6 +44947,7 @@ components:
4488344947
remember_me_offset: remember_me_offset
4488444948
name: name
4488544949
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
44950+
network_binding: ""
4488644951
flow_set:
4488744952
- policy_engine_mode: null
4488844953
compatibility_mode: true
@@ -44908,6 +44973,7 @@ components:
4490844973
designation: ""
4490944974
title: title
4491044975
slug: slug
44976+
geoip_binding: ""
4491144977
session_duration: session_duration
4491244978
properties:
4491344979
pagination:
@@ -48826,6 +48892,7 @@ components:
4882648892
terminate_other_sessions: true
4882748893
remember_me_offset: remember_me_offset
4882848894
name: name
48895+
network_binding: ""
4882948896
flow_set:
4883048897
- policy_engine_mode: null
4883148898
compatibility_mode: true
@@ -48843,6 +48910,7 @@ components:
4884348910
designation: ""
4884448911
title: title
4884548912
slug: slug
48913+
geoip_binding: ""
4884648914
session_duration: session_duration
4884748915
properties:
4884848916
name:
@@ -48866,6 +48934,26 @@ components:
4886648934
\ will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)"
4886748935
minLength: 1
4886848936
type: string
48937+
network_binding:
48938+
allOf:
48939+
- $ref: '#/components/schemas/NetworkBindingEnum'
48940+
description: |-
48941+
Bind sessions created by this stage to the configured network
48942+
48943+
* `no_binding` - No Binding
48944+
* `bind_asn` - Bind Asn
48945+
* `bind_asn_network` - Bind Asn Network
48946+
* `bind_asn_network_ip` - Bind Asn Network Ip
48947+
geoip_binding:
48948+
allOf:
48949+
- $ref: '#/components/schemas/GeoipBindingEnum'
48950+
description: |-
48951+
Bind sessions created by this stage to the configured GeoIP location
48952+
48953+
* `no_binding` - No Binding
48954+
* `bind_continent` - Bind Continent
48955+
* `bind_continent_country` - Bind Continent Country
48956+
* `bind_continent_country_city` - Bind Continent Country City
4886948957
type: object
4887048958
PatchedUserLogoutStageRequest:
4887148959
description: UserLogoutStage Serializer
@@ -50326,27 +50414,27 @@ components:
5032650414
ProviderTypeEnum:
5032750415
description: |-
5032850416
* `apple` - Apple
50417+
* `openidconnect` - OpenID Connect
5032950418
* `azuread` - Azure AD
5033050419
* `discord` - Discord
5033150420
* `facebook` - Facebook
5033250421
* `github` - GitHub
5033350422
* `google` - Google
5033450423
* `mailcow` - Mailcow
50335-
* `openidconnect` - OpenID Connect
5033650424
* `okta` - Okta
5033750425
* `patreon` - Patreon
5033850426
* `reddit` - Reddit
5033950427
* `twitch` - Twitch
5034050428
* `twitter` - Twitter
5034150429
enum:
5034250430
- apple
50431+
- openidconnect
5034350432
- azuread
5034450433
- discord
5034550434
- facebook
5034650435
- github
5034750436
- google
5034850437
- mailcow
50349-
- openidconnect
5035050438
- okta
5035150439
- patreon
5035250440
- reddit
@@ -54163,6 +54251,7 @@ components:
5416354251
remember_me_offset: remember_me_offset
5416454252
name: name
5416554253
pk: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
54254+
network_binding: ""
5416654255
flow_set:
5416754256
- policy_engine_mode: null
5416854257
compatibility_mode: true
@@ -54188,6 +54277,7 @@ components:
5418854277
designation: ""
5418954278
title: title
5419054279
slug: slug
54280+
geoip_binding: ""
5419154281
session_duration: session_duration
5419254282
properties:
5419354283
pk:
@@ -54229,6 +54319,26 @@ components:
5422954319
\ the remember me option. Default of 0 means that the remember me option\
5423054320
\ will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)"
5423154321
type: string
54322+
network_binding:
54323+
allOf:
54324+
- $ref: '#/components/schemas/NetworkBindingEnum'
54325+
description: |-
54326+
Bind sessions created by this stage to the configured network
54327+
54328+
* `no_binding` - No Binding
54329+
* `bind_asn` - Bind Asn
54330+
* `bind_asn_network` - Bind Asn Network
54331+
* `bind_asn_network_ip` - Bind Asn Network Ip
54332+
geoip_binding:
54333+
allOf:
54334+
- $ref: '#/components/schemas/GeoipBindingEnum'
54335+
description: |-
54336+
Bind sessions created by this stage to the configured GeoIP location
54337+
54338+
* `no_binding` - No Binding
54339+
* `bind_continent` - Bind Continent
54340+
* `bind_continent_country` - Bind Continent Country
54341+
* `bind_continent_country_city` - Bind Continent Country City
5423254342
required:
5423354343
- component
5423454344
- meta_model_name
@@ -54243,6 +54353,7 @@ components:
5424354353
terminate_other_sessions: true
5424454354
remember_me_offset: remember_me_offset
5424554355
name: name
54356+
network_binding: ""
5424654357
flow_set:
5424754358
- policy_engine_mode: null
5424854359
compatibility_mode: true
@@ -54260,6 +54371,7 @@ components:
5426054371
designation: ""
5426154372
title: title
5426254373
slug: slug
54374+
geoip_binding: ""
5426354375
session_duration: session_duration
5426454376
properties:
5426554377
name:
@@ -54283,6 +54395,26 @@ components:
5428354395
\ will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)"
5428454396
minLength: 1
5428554397
type: string
54398+
network_binding:
54399+
allOf:
54400+
- $ref: '#/components/schemas/NetworkBindingEnum'
54401+
description: |-
54402+
Bind sessions created by this stage to the configured network
54403+
54404+
* `no_binding` - No Binding
54405+
* `bind_asn` - Bind Asn
54406+
* `bind_asn_network` - Bind Asn Network
54407+
* `bind_asn_network_ip` - Bind Asn Network Ip
54408+
geoip_binding:
54409+
allOf:
54410+
- $ref: '#/components/schemas/GeoipBindingEnum'
54411+
description: |-
54412+
Bind sessions created by this stage to the configured GeoIP location
54413+
54414+
* `no_binding` - No Binding
54415+
* `bind_continent` - Bind Continent
54416+
* `bind_continent_country` - Bind Continent Country
54417+
* `bind_continent_country_city` - Bind Continent Country City
5428654418
required:
5428754419
- name
5428854420
type: object

api_stages.go

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/GeoipBindingEnum.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# GeoipBindingEnum
2+
3+
## Enum
4+
5+
6+
* `NO_BINDING` (value: `"no_binding"`)
7+
8+
* `BIND_CONTINENT` (value: `"bind_continent"`)
9+
10+
* `BIND_CONTINENT_COUNTRY` (value: `"bind_continent_country"`)
11+
12+
* `BIND_CONTINENT_COUNTRY_CITY` (value: `"bind_continent_country_city"`)
13+
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

0 commit comments

Comments
 (0)