from dishka import BaseScope, Provider, Scope, WithParents, provide_all

from template_project.adapters.access_token.factory import DefaultAccessTokenFactory


class FactoryProvider(Provider):
    scope: BaseScope | None = Scope.APP

    provides = provide_all(
        WithParents[DefaultAccessTokenFactory],
    )
