Package pulp :: Package server :: Package api :: Module auth :: Class AuthApi
[hide private]
[frames] | no frames]

Class AuthApi

source code

  object --+    
           |    
base.BaseApi --+
               |
              AuthApi

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_getcollection(self) source code
(string, string)
admin_certificate(self)
Generates an admin authentication certificate for the currently logged in user.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from base.BaseApi
 
_indexes(self) source code
 
_unique_indexes(self) source code
 
clean(self)
Delete all the Objects in the database.
source code
 
delete(self, **kwargs)
Delete a single stored Object
source code
 
insert(self, object, check_keys=False)
Insert the object document to the database
source code
 
update(self, object)
Write the object document to the database
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_getcollection(self)

source code 
Overrides: base.BaseApi._getcollection

admin_certificate(self)

source code 

Generates an admin authentication certificate for the currently logged in user.

Returns: (string, string)
tuple of the private key and certificate
Decorators:
  • @audit()