from logging import Logger


class OAuthStateStore:
    @property
    def logger(self) -> Logger:
        raise NotImplementedError()

    def issue(self) -> str:
        raise NotImplementedError()

    def consume(self, state: str) -> bool:
        raise NotImplementedError()

from logging import Logger


class OAuthStateStore:
    @property
    def logger(self) -> Logger:
        raise NotImplementedError()

    def issue(self, *args, **kwargs) -> str:
        raise NotImplementedError()

    def consume(self, state: str) -> bool:
        raise NotImplementedError()

Enable additional data on state creation
Enable additional data on state creation

This should allow for the creation of custom states where the additional data can be used to associate external accounts.
  from logging import Logger
  
  
  class OAuthStateStore:
      @property
      def logger(self) -> Logger:
          raise NotImplementedError()
  
-     def issue(self) -> str:
+     def issue(self, *args, **kwargs) -> str:
          raise NotImplementedError()
  
      def consume(self, state: str) -> bool:
          raise NotImplementedError()
  
Enable additional data on state creation
## Code Before:
from logging import Logger


class OAuthStateStore:
    @property
    def logger(self) -> Logger:
        raise NotImplementedError()

    def issue(self) -> str:
        raise NotImplementedError()

    def consume(self, state: str) -> bool:
        raise NotImplementedError()

## Instruction:
Enable additional data on state creation
## Code After:
from logging import Logger


class OAuthStateStore:
    @property
    def logger(self) -> Logger:
        raise NotImplementedError()

    def issue(self, *args, **kwargs) -> str:
        raise NotImplementedError()

    def consume(self, state: str) -> bool:
        raise NotImplementedError()
