original_docstring: Checks if given password passes the establshed password policy for identity provider
docstring: Checks if given password passes the establshed password policy for identity provider
docstring_tokens: Checks if given password passes the establshed password policy for identity provider
code: def check_password_policy(cls, password, id_provider=None):
          """Checks if given password passes the establshed password policy for identity provider"""
          # TODO: Make configurable
          if not password or type(password) is not str:
              raise BadRequest("Invalid type")
          if len(password) < 3:
              raise BadRequest("Password too short")
code_tokens: def check_password_policy ( cls , password , id_provider = None ) : if not password or type ( password ) is not str : raise BadRequest ( "Invalid type" ) if len ( password ) < 3 : raise BadRequest ( "Password too short" )
short_docstring: Checks if given password passes the establshed password policy for identity provider
short_docstring_tokens: Checks if given password passes the establshed password policy for identity provider
comment: """Checks if given password passes the establshed password policy for identity provider"""$SEP$# TODO: Make configurable