Skip to content

Commit

Permalink
chore: initial stubs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jul 9, 2023
1 parent 52af54e commit d0cc0f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/netius/auth/base.pyi
@@ -0,0 +1,8 @@
from typing import Literal

class Auth(object):
@classmethod
def verify(cls, encoded: str, decoded: str) -> bool: ...

@classmethod
def generate(cls, password: str, type: Literal["md5", "sha1", "sha256", "sha512"] = "sha256", salt: str = "netius") -> str: ...

0 comments on commit d0cc0f4

Please sign in to comment.