Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nulled-auth

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nulled-auth

nulled.to release authentication package for python

  • 1.7.5
  • PyPI
  • Socket score

Maintainers
1

Nulled.to releases authentication module for python

PyPi Package

Requirements

  • Python 3.6+

Installation

  • Install with pip: pip install nulled-auth

Documentation

  1. Download and install the package from pypi.com with pip install nulled-auth
  2. Include the package in your project:
  • from nulled_auth import auth
  1. Create a new object authentication = auth.Auth(program_id='', program_secret='', minimum_group=auth.Ranks.NONE, minimum_likes=0, both_requirements=False)
  • Mandatory fields:
    • program_id :
      • Definition:
        • Program id provided by staff
      • Type:
        • string
      • Default value:
        • No default value
    • program_secret :
      • Definition:
        • Program secret provided by staff
      • Type:
        • string
      • Default value:
        • No default value
  • Optional fields:
    • minimum_group

      • Definition:
        • Minimum user group to access application
      • Type:
        • Enum
          • auth.Ranks.NOVA
          • auth.Ranks.AQUA
          • auth.Ranks.VIP
          • auth.Ranks.NONE
      • Default value:
        • auth.Ranks.NONE
    • minimum_likes (Default: 0):

      • Definition:
        • Minimum number of likes to access application
      • Type:
        • integer
      • Default value:
        • 0
    • both_requirements

      • Definition:
        • if True
          • Will make mandatory both minimum_group and minimum_likes requirements
        • if False
          • Will authenticate if it haves one of the 2 requirements minimum_group or minimum_likes
      • Type:
        • boolean
      • Default value:
        • True
  1. Check if key is valid for the authentication authentication.get_auth(key)
  • Returns boolean, [string]
  • First return value:
    • Either if it has passed the authentication process or not True or False
  • Second value value:
    • In case of not passing the authentication it returns an array of 1 or more messages of why it didnt authenticate
    • In case of passing the authentication it returns an array with one message with the text: Success!

Getting help

  • In case there is any problem or cant get it to work, send a PM to 0x69 on Nulled.to

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc