from config import app_auth_access_token_cookie_key
from module.auth.component.access_token_util import access_token_util
from module.auth.component.user import guest_user
from module.auth.core import AccessTokenScheme, create_oauth2_bearer_access_token_scheme

access_token_scheme: AccessTokenScheme = (
    create_oauth2_bearer_access_token_scheme(  # noqa
        guest_user=guest_user,
        access_token_util=access_token_util,
        token_url="/api/v1/auth/login-oauth",
        token_cookie_key=app_auth_access_token_cookie_key,
    )
)
