ccproxy.auth.models.credentials¶
ccproxy.auth.models.credentials
¶
Base credentials protocol for all authentication implementations.
BaseCredentials
¶
Bases: Protocol
Protocol that all credential implementations must follow.
This defines the contract for credentials without depending on any specific provider implementation.
is_expired
¶
to_dict
¶
from_dict
classmethod
¶
Create credentials from dictionary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
dict[str, Any]
|
Dictionary containing credential data |
required |
Returns:
| Type | Description |
|---|---|
BaseCredentials
|
Credentials instance |