app.model.oauth_users module¶
- class app.model.oauth_users.OAuthUsers(*, id=<factory>, created_at, updated_at, provider, provider_user_id, status, apiKey_used)[source]¶
Bases:
SQLModelRepresents a user authenticated via OAuth.
- Parameters:
id (str)
created_at (datetime)
updated_at (datetime)
provider (str)
provider_user_id (str)
status (str)
apiKey_used (str)
- provider¶
The OAuth provider.
- Type:
str
- provider_user_id¶
The OAuth user ID.
- Type:
str
- status¶
The status of the user (e.g., ‘active’, ‘inactive’).
- Type:
str
- model_config: ClassVar[ConfigDict] = {'from_attributes': True, 'read_from_attributes': True, 'read_with_orm_mode': True, 'registry': PydanticUndefined, 'table': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].