Pure API specification for LKS Identity Provider library with protocols, models, and contracts
Project description
LKS-idprovider API
API specification for the LKS Identity Provider library, providing protocols, models, and contracts for identity provider implementations.
Overview
This package contains the core API specification for the LKS-idprovider ecosystem:
- Protocols: Define contracts for identity provider implementations
- Models: Data models for authentication context, identities, tokens, and configuration
- Types: Enums and type definitions for consistency across implementations
- Contracts: Validation and lifecycle contracts for provider compliance
Key Features
- Unified Identity Model: Support for both user and client identities through a common interface
- Protocol-Based Design: Clear contracts for implementing identity providers
- Type Safety: Full type hints and Pydantic models for validation
- Framework Agnostic: Pure API specification without implementation dependencies
- Extensible: Easy to extend for custom identity providers and use cases
Core Components
Protocols
- IdentityProvider: Main protocol for token validation and authentication
- ClientCredentialsProvider: Protocol for OAuth2 client credentials flow
- TokenValidator: Protocol for token validation logic
Models
- AuthContext: Complete authentication context with identity and authorization info
- Identity: Base class for all identities (users and clients)
- User: Represents authenticated users with profile information
- ClientIdentity: Represents authenticated clients (service-to-service)
- Role: User roles and permissions
- Token: Token information and metadata
Configuration
- ProviderConfig: Base configuration for identity providers
- Validation contracts: Ensure provider implementations meet requirements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lks_idprovider_api-0.1.6.tar.gz.
File metadata
- Download URL: lks_idprovider_api-0.1.6.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1524a6db6d957b2863aec312e1904e0e9833da24ea717e3ce6d69a58d6abb10c
|
|
| MD5 |
acefdb91d93690dd6100a819d24b3300
|
|
| BLAKE2b-256 |
7014ebbd982f10000c1dd1eab7e9b48507dbcb5e63594f25a1f733eba3b46b1b
|
File details
Details for the file lks_idprovider_api-0.1.6-py3-none-any.whl.
File metadata
- Download URL: lks_idprovider_api-0.1.6-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a7445f1cef2d78e5613390efaa363b7f80159c3b222af5c2ff3eeaacbb5c768
|
|
| MD5 |
c860d90d05f1a30be55aea95ce16491c
|
|
| BLAKE2b-256 |
fb0b71f74db56f7f4d85b44fe4fee698a21e525ea5be995c1373f672295da773
|