swarmauri_auth_idp_gitlab 0.2.0.dev5__tar.gz → 0.11.0__tar.gz

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.
Files changed (16) hide show
  1. swarmauri_auth_idp_gitlab-0.11.0/NOTICE +7 -0
  2. swarmauri_auth_idp_gitlab-0.11.0/PKG-INFO +404 -0
  3. swarmauri_auth_idp_gitlab-0.11.0/README.md +373 -0
  4. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/pyproject.toml +56 -5
  5. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOAuth20Login.py +3 -1
  6. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOAuth21AppClient.py +11 -3
  7. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOAuth21Login.py +5 -2
  8. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOAuthLoginMixin.py +31 -7
  9. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOIDC10AppClient.py +2 -1
  10. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOIDCLoginMixin.py +37 -9
  11. swarmauri_auth_idp_gitlab-0.2.0.dev5/PKG-INFO +0 -123
  12. swarmauri_auth_idp_gitlab-0.2.0.dev5/README.md +0 -94
  13. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/LICENSE +0 -0
  14. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOAuth20AppClient.py +0 -0
  15. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/GitLabOIDC10Login.py +0 -0
  16. {swarmauri_auth_idp_gitlab-0.2.0.dev5 → swarmauri_auth_idp_gitlab-0.11.0}/swarmauri_auth_idp_gitlab/__init__.py +0 -0
@@ -0,0 +1,7 @@
1
+ swarmauri_auth_idp_gitlab
2
+
3
+ Distribution: swarmauri_auth_idp_gitlab
4
+ Repository: https://github.com/swarmauri/swarmauri-sdk
5
+
6
+ Author attribution: Jacob Stewart.
7
+ Licensed under Apache-2.0; see LICENSE.
@@ -0,0 +1,404 @@
1
+ Metadata-Version: 2.4
2
+ Name: swarmauri_auth_idp_gitlab
3
+ Version: 0.11.0
4
+ Summary: GitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ License-File: NOTICE
8
+ Keywords: swarmauri,sdk,experimental,identity,oauth2,oauth21,oidc,gitlab,idp
9
+ Author: Jacob Stewart
10
+ Author-email: jacob@swarmauri.com
11
+ Requires-Python: >=3.10,<3.15
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Natural Language :: English
15
+ Classifier: Topic :: Internet :: WWW/HTTP
16
+ Classifier: Topic :: Security :: Cryptography
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Requires-Dist: httpx (>=0.27)
26
+ Requires-Dist: pyjwt[crypto] (>=2.8)
27
+ Requires-Dist: swarmauri_base
28
+ Requires-Dist: swarmauri_core
29
+ Description-Content-Type: text/markdown
30
+
31
+ # swarmauri_auth_idp_gitlab
32
+
33
+ <!-- readme-standards:begin branding -->
34
+ <p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
35
+ <p align="center"><strong>swarmauri_auth_idp_gitlab</strong></p>
36
+ <p align="center">GitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri</p>
37
+ <p align="center">
38
+ <a href="https://pypi.org/project/swarmauri_auth_idp_gitlab/"><img alt="pypi: swarmauri_auth_idp_gitlab" src="https://img.shields.io/pypi/v/swarmauri_auth_idp_gitlab?labelColor=1E293B&amp;color=1D4ED8"></a>
39
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&amp;message=0.11.0&amp;labelColor=1E293B&amp;color=4338CA"></a>
40
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml"><img alt="Python: &gt;=3.10,&lt;3.15" src="https://img.shields.io/static/v1?label=Python&amp;message=%3E%3D3.10%2C%3C3.15&amp;labelColor=1E293B&amp;color=0F766E"></a>
41
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&amp;message=standards&amp;labelColor=1E293B&amp;color=6D28D9"></a>
42
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&amp;message=active&amp;labelColor=1E293B&amp;color=166534"></a>
43
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&amp;message=Apache-2.0&amp;labelColor=1E293B&amp;color=86198F"></a>
44
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&amp;message=attribution&amp;labelColor=1E293B&amp;color=86198F"></a>
45
+ </p>
46
+ <p align="center">
47
+ <a href="https://pypi.org/project/swarmauri_auth_idp_gitlab/"><img alt="Monthly PyPI downloads: swarmauri_auth_idp_gitlab" src="https://img.shields.io/pypi/dm/swarmauri_auth_idp_gitlab?labelColor=1E293B&amp;color=0E7490"></a>
48
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/README.md"><img alt="README hits: swarmauri_auth_idp_gitlab" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_auth_idp_gitlab/README.md.svg?label=README%20hits&amp;labelColor=1E293B&amp;color=0E7490"></a>
49
+ </p>
50
+ <p align="center">
51
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&amp;message=CI%20gate&amp;labelColor=1E293B&amp;color=1D4ED8"></a>
52
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&amp;message=example%20source&amp;labelColor=1E293B&amp;color=0F766E"></a>
53
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&amp;message=not%20certified&amp;labelColor=1E293B&amp;color=92400E"></a>
54
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&amp;message=repository%20policy&amp;labelColor=1E293B&amp;color=4338CA"></a>
55
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&amp;message=source%20and%20CI&amp;labelColor=1E293B&amp;color=6D28D9"></a>
56
+ </p>
57
+ <p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
58
+ <!-- readme-standards:end branding -->
59
+
60
+ ---
61
+
62
+ ## Overview
63
+
64
+ ### Summary
65
+
66
+ GitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity providers and app clients packaged for Swarmauri deployments.
67
+
68
+ ### Why This Package
69
+
70
+ `swarmauri_auth_idp_gitlab` isolates this responsibility: GitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py) exposes `GitLabOAuth20AppClient`, `GitLabOAuth20Login`, `GitLabOAuth21AppClient`, `GitLabOAuth21Login`, `GitLabOIDC10AppClient`, `GitLabOIDC10Login`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
71
+
72
+ ### When to Use
73
+
74
+ Choose `swarmauri_auth_idp_gitlab` when your integration needs gitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.
75
+
76
+ ### Features
77
+
78
+ - Authorization Code flows with PKCE and HMAC-signed state payloads for GitLab SaaS or self-managed.
79
+ - Discovery-driven OAuth 2.1 & OIDC login that validates ID tokens and hydrates profile details.
80
+ - Client credentials helpers that support shared secrets and JWT assertions.
81
+ - Retry-aware HTTP integration with GitLab REST API v4 and OIDC endpoints.
82
+ - ComponentBase-compatible models registered under `swarmauri.auth_idp` entry points.
83
+
84
+ ### Non-Goals
85
+
86
+ `swarmauri_auth_idp_gitlab` owns gitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
87
+
88
+ ---
89
+
90
+ ## Getting Started
91
+
92
+ ### Prerequisites
93
+
94
+ Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`, `httpx`, `pyjwt`. Read the example’s inputs and service requirements before execution.
95
+
96
+ ### Installation
97
+
98
+ **uv (project)**
99
+
100
+ ```bash
101
+ uv add swarmauri_auth_idp_gitlab
102
+ ```
103
+
104
+ **uv (environment)**
105
+
106
+ ```bash
107
+ uv pip install swarmauri_auth_idp_gitlab
108
+ ```
109
+
110
+ #### uv
111
+
112
+ <!-- readme-standards:begin installation.uv -->
113
+ ```bash
114
+ uv add swarmauri_auth_idp_gitlab
115
+ ```
116
+ <!-- readme-standards:end installation.uv -->
117
+
118
+ #### pip
119
+
120
+ <!-- readme-standards:begin installation.pip -->
121
+ ```bash
122
+ python -m pip install swarmauri_auth_idp_gitlab
123
+ ```
124
+ <!-- readme-standards:end installation.pip -->
125
+
126
+ ```bash
127
+ pip install swarmauri_auth_idp_gitlab
128
+ ```
129
+
130
+ #### Poetry
131
+
132
+ <!-- readme-standards:begin installation.poetry -->
133
+ ```bash
134
+ poetry add swarmauri_auth_idp_gitlab
135
+ ```
136
+ <!-- readme-standards:end installation.poetry -->
137
+
138
+ ### Quick Start
139
+
140
+ #### Example
141
+
142
+ <!-- readme-standards:begin example.quick-start -->
143
+ Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/docs/readme/quick_start.py).
144
+
145
+ ```python
146
+ import asyncio
147
+ from pydantic import SecretBytes, SecretStr
148
+ from swarmauri_auth_idp_gitlab import GitLabOAuth20Login
149
+
150
+ login = GitLabOAuth20Login(
151
+ base_url="https://gitlab.example",
152
+ client_id="gitlab-client-id",
153
+ client_secret=SecretStr("gitlab-client-secret"),
154
+ redirect_uri="https://app.example.com/callback",
155
+ state_secret=SecretBytes(b"replace-with-random-bytes"),
156
+ )
157
+
158
+
159
+ async def run_flow() -> None:
160
+ auth = await login.auth_url()
161
+ print(auth["url"])
162
+ # Redirect the browser to `auth["url"]`, then capture the callback `code`
163
+ # and `state`.
164
+ # Later, call `login.exchange_and_identity(code, state)` inside your
165
+ # callback handler.
166
+
167
+
168
+ asyncio.run(run_flow())
169
+ ```
170
+ <!-- readme-standards:end example.quick-start -->
171
+
172
+ #### Expected Result
173
+
174
+ The example demonstrates the documented `swarmauri_auth_idp_gitlab` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
175
+
176
+ ---
177
+
178
+ ## Usage
179
+
180
+ ### Common Workflows
181
+
182
+ <!-- readme-standards:begin example.usage -->
183
+ Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/docs/readme/usage.py).
184
+
185
+ ```python
186
+ import asyncio
187
+ from pydantic import SecretBytes, SecretStr
188
+ from swarmauri_auth_idp_gitlab import GitLabOAuth20Login
189
+
190
+ login = GitLabOAuth20Login(
191
+ base_url="https://gitlab.example",
192
+ client_id="gitlab-client-id",
193
+ client_secret=SecretStr("gitlab-client-secret"),
194
+ redirect_uri="https://app.example.com/callback",
195
+ state_secret=SecretBytes(b"replace-with-random-bytes"),
196
+ )
197
+
198
+
199
+ async def run_flow() -> None:
200
+ auth = await login.auth_url()
201
+ print(auth["url"])
202
+ # Redirect the browser to `auth["url"]`, then capture the callback `code`
203
+ # and `state`.
204
+ # Later, call `login.exchange_and_identity(code, state)` inside your
205
+ # callback handler.
206
+
207
+
208
+ asyncio.run(run_flow())
209
+ ```
210
+ <!-- readme-standards:end example.usage -->
211
+
212
+ 1. Call `auth_url()` and redirect the browser to the returned URL.
213
+ 2. Persist the `state` and verify it during the callback handler.
214
+ 3. Exchange the authorization code through `exchange_and_identity()` to obtain tokens and profile metadata.
215
+ 4. Instantiate `GitLabOAuth21AppClient` or `GitLabOIDC10AppClient` to fetch service tokens for background jobs.
216
+
217
+ ### Configuration
218
+
219
+ Configure `swarmauri_auth_idp_gitlab` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
220
+
221
+ ### Error Handling
222
+
223
+ The inspected `swarmauri_auth_idp_gitlab` source raises `ValueError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
224
+
225
+ ### Best Practices
226
+
227
+ Use the explicit `swarmauri_auth_idp_gitlab` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `GitLabOAuth20AppClient`, `GitLabOAuth20Login`, `GitLabOAuth21AppClient`, `GitLabOAuth21Login`, `GitLabOIDC10AppClient`, `GitLabOIDC10Login`; an import or successful installation alone does not establish its runtime guarantees.
228
+
229
+ ---
230
+
231
+ ## Package Boundary
232
+
233
+ ### What It Owns
234
+
235
+ `swarmauri_auth_idp_gitlab` is located in `standards` and owns gitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri. Source-declared APIs include `GitLabOAuth20AppClient`, `GitLabOAuth20Login`, `GitLabOAuth21AppClient`, `GitLabOAuth21Login`, `GitLabOIDC10AppClient`, `GitLabOIDC10Login`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml) records its direct dependency boundary.
236
+
237
+ ### Public API and Import Surfaces
238
+
239
+ Import namespace: `swarmauri_auth_idp_gitlab`.
240
+
241
+ Source-declared exports or types: `GitLabOAuth20AppClient`, `GitLabOAuth20Login`, `GitLabOAuth21AppClient`, `GitLabOAuth21Login`, `GitLabOIDC10AppClient`, `GitLabOIDC10Login`.
242
+
243
+ Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
244
+
245
+ ### Entry Points
246
+
247
+ <!-- readme-standards:begin entry-points -->
248
+ - `swarmauri.auth_idp` → `GitLabOAuth20AppClient` → `swarmauri_auth_idp_gitlab:GitLabOAuth20AppClient`
249
+ - `swarmauri.auth_idp` → `GitLabOAuth20Login` → `swarmauri_auth_idp_gitlab:GitLabOAuth20Login`
250
+ - `swarmauri.auth_idp` → `GitLabOAuth21AppClient` → `swarmauri_auth_idp_gitlab:GitLabOAuth21AppClient`
251
+ - `swarmauri.auth_idp` → `GitLabOAuth21Login` → `swarmauri_auth_idp_gitlab:GitLabOAuth21Login`
252
+ - `swarmauri.auth_idp` → `GitLabOIDC10AppClient` → `swarmauri_auth_idp_gitlab:GitLabOIDC10AppClient`
253
+ - `swarmauri.auth_idp` → `GitLabOIDC10Login` → `swarmauri_auth_idp_gitlab:GitLabOIDC10Login`
254
+ <!-- readme-standards:end entry-points -->
255
+
256
+ - `swarmauri.auth_idp:GitLabOAuth20Login`
257
+ - `swarmauri.auth_idp:GitLabOAuth21Login`
258
+ - `swarmauri.auth_idp:GitLabOIDC10Login`
259
+ - `swarmauri.auth_idp:GitLabOAuth20AppClient`
260
+ - `swarmauri.auth_idp:GitLabOAuth21AppClient`
261
+ - `swarmauri.auth_idp:GitLabOIDC10AppClient`
262
+
263
+ ### Injected Dependencies
264
+
265
+ The direct installation dependencies of `swarmauri_auth_idp_gitlab` are `swarmauri-core`, `swarmauri-base`, `httpx`, `pyjwt`. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py).
266
+
267
+ ### Protocol Consumers
268
+
269
+ No direct package-manifest dependency on `swarmauri_auth_idp_gitlab` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
270
+
271
+ ### Extensions
272
+
273
+ For `swarmauri_auth_idp_gitlab`, use the source-declared public interfaces (`GitLabOAuth20AppClient`, `GitLabOAuth20Login`, `GitLabOAuth21AppClient`, `GitLabOAuth21Login`, `GitLabOIDC10AppClient`, `GitLabOIDC10Login`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
274
+
275
+ ---
276
+
277
+ ## Operations and Readiness
278
+
279
+ ### Operational Requirements
280
+
281
+ Operate `swarmauri_auth_idp_gitlab` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
282
+
283
+ ### Health and Observability
284
+
285
+ This README does not establish a standalone health endpoint for `swarmauri_auth_idp_gitlab`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
286
+
287
+ ### Security and Resource Limits
288
+
289
+ Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py). The `swarmauri_auth_idp_gitlab` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
290
+
291
+ ### Compatibility
292
+
293
+ This source version of `swarmauri_auth_idp_gitlab` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
294
+
295
+ ---
296
+
297
+ ## Verification
298
+
299
+ ### Tests
300
+
301
+ Run the full package suite offline from the repository's `pkgs/` directory with `uv run --package swarmauri_auth_idp_gitlab --directory standards/swarmauri_auth_idp_gitlab pytest`. The tests use fake HTTP clients and throwaway signing keys, with no network access, credentials, or live GitLab account: they verify the request/response contract only and do not prove interoperability with GitLab's production service. Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_auth_idp_gitlab` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
302
+
303
+ - [tests/unit/test_gitlab_oauth20_app_client_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oauth20_app_client_unit.py)
304
+ - [tests/unit/test_gitlab_oauth20_login_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oauth20_login_unit.py)
305
+ - [tests/unit/test_gitlab_oauth21_app_client_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oauth21_app_client_unit.py)
306
+ - [tests/unit/test_gitlab_oauth21_login_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oauth21_login_unit.py)
307
+ - [tests/unit/test_gitlab_oidc10_app_client_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oidc10_app_client_unit.py)
308
+ - [tests/unit/test_gitlab_oauth_contract_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/tests/unit/test_gitlab_oauth_contract_unit.py)
309
+
310
+ The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
311
+
312
+ ### Certification Status
313
+
314
+ No external certification is asserted for `swarmauri_auth_idp_gitlab` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
315
+
316
+ ### Evidence
317
+
318
+ The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
319
+
320
+ ---
321
+
322
+ ## FAQ
323
+
324
+ ### Why
325
+
326
+ **Why select this package?** `swarmauri_auth_idp_gitlab` provides gitLab OAuth 2.0 / OAuth 2.1 / OIDC 1.0 identity provider implementations for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
327
+
328
+ ### How
329
+
330
+ **How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_auth_idp_gitlab`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py) for the exact types and signatures involved.
331
+
332
+ ### When
333
+
334
+ **When should I validate an upgrade?** Recheck `swarmauri_auth_idp_gitlab` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
335
+
336
+ ---
337
+
338
+ ## Documentation and Related Packages
339
+
340
+ ### More Documentation
341
+
342
+ The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/swarmauri_auth_idp_gitlab/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml) provide the supporting context for `swarmauri_auth_idp_gitlab`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
343
+
344
+ ### Related Packages
345
+
346
+ - [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
347
+ - [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
348
+
349
+ ### Project Links
350
+
351
+ <!-- readme-standards:begin project-links -->
352
+ - [pypi: swarmauri_auth_idp_gitlab](https://pypi.org/project/swarmauri_auth_idp_gitlab/)
353
+ <!-- readme-standards:end project-links -->
354
+
355
+ ---
356
+
357
+ ## Contributing
358
+
359
+ ### How to Contribute
360
+
361
+ To contribute to swarmauri-sdk, review the
362
+ [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
363
+ which cover development workflow, testing, and coding standards.
364
+
365
+ ### Development Setup
366
+
367
+ Work from the `pkgs/40-standards/swarmauri_auth_idp_gitlab` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
368
+
369
+ ### Notes for Maintainers
370
+
371
+ Edit authored prose directly in this `swarmauri_auth_idp_gitlab` README. Update source examples in `docs/readme/`, then run `readme-standards render --root . --write` from the package directory and review the diff. Required headings and generated blocks come from package-guide-v1.
372
+
373
+ ---
374
+
375
+ ## Governance
376
+
377
+ ### Ownership and Decision Making
378
+
379
+ Changes to `swarmauri_auth_idp_gitlab` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/pyproject.toml); this README does not assign new publishing or administrative authority.
380
+
381
+ ### Standards and Policies
382
+
383
+ `swarmauri_auth_idp_gitlab` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
384
+
385
+ ### Lifecycle and Migration
386
+
387
+ The `swarmauri_auth_idp_gitlab` source version is `0.11.0`.
388
+
389
+ ---
390
+
391
+ ## License and Attribution
392
+
393
+ ### License
394
+
395
+ <!-- readme-standards:begin license -->
396
+ Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/LICENSE).
397
+ <!-- readme-standards:end license -->
398
+
399
+ ### Notices
400
+
401
+ <!-- readme-standards:begin notices -->
402
+ See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_auth_idp_gitlab/NOTICE) for attribution.
403
+ <!-- readme-standards:end notices -->
404
+