Skip to content

Oauth States

oauth_states

SQLAlchemy OAuth state adapter implementation.

Provides database operations for OAuth state token storage using SQLAlchemy/SQLModel.

Classes

SQLAlchemyOAuthStateAdapter

SQLAlchemyOAuthStateAdapter(session: Session)

Bases: OAuthStateAdapter

SQLAlchemy implementation of OAuthStateAdapter.

Source code in fastauth/adapters/sqlalchemy/oauth_states.py
def __init__(self, session: Session):
    self.session = session