Authorization (version 0.1)
index
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Authorization/__init__.py

 
Package Contents
       
Authorization
Enumerators
_Authorization
util

 
Classes
       
_Authorization._AuthorizationBase(__builtin__.object)
_Authorization.Authorization
_Authorization.ExternalAuthorization
_Authorization.PrivilegedReference
__builtin__.object
_Authorization.AuthorizationItem
_Authorization.AuthorizationItemSet

 
class Authorization(_AuthorizationBase)
    
Method resolution order:
Authorization
_AuthorizationBase
__builtin__.object

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x1ca4d4>
T.__new__(S, ...) -> a new object with type S, a subtype of T
flags = <member 'flags' of '_Authorization.Authorization' objects>

Methods inherited from _AuthorizationBase:
copyInfo(...)
copyRights(...)
executeWithPrivileges(...)
external(...)
invalidate(...)

Data and other attributes inherited from _AuthorizationBase:
destroyflags = <member 'destroyflags' of '_Authorization._AuthorizationBase' objects>

 
class AuthorizationItem(__builtin__.object)
     Methods defined here:
__repr__(...)
x.__repr__() <==> repr(x)

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x1ca1b0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
flags = <member 'flags' of '_Authorization.AuthorizationItem' objects>
name = <member 'name' of '_Authorization.AuthorizationItem' objects>
value = <member 'value' of '_Authorization.AuthorizationItem' objects>

 
class AuthorizationItemSet(__builtin__.object)
     Methods defined here:
__getitem__(...)
x.__getitem__(y) <==> x[y]
__iter__(...)
x.__iter__() <==> iter(x)
__len__(...)
x.__len__() <==> len(x)
__repr__(...)
x.__repr__() <==> repr(x)

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x1ca2a4>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class ExternalAuthorization(_AuthorizationBase)
    
Method resolution order:
ExternalAuthorization
_AuthorizationBase
__builtin__.object

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x1ca594>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from _AuthorizationBase:
copyInfo(...)
copyRights(...)
executeWithPrivileges(...)
external(...)
invalidate(...)

Data and other attributes inherited from _AuthorizationBase:
destroyflags = <member 'destroyflags' of '_Authorization._AuthorizationBase' objects>

 
class PrivilegedReference(_AuthorizationBase)
    
Method resolution order:
PrivilegedReference
_AuthorizationBase
__builtin__.object

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x1ca67c>
T.__new__(S, ...) -> a new object with type S, a subtype of T
flags = <member 'flags' of '_Authorization.PrivilegedReference' objects>

Methods inherited from _AuthorizationBase:
copyInfo(...)
copyRights(...)
executeWithPrivileges(...)
external(...)
invalidate(...)

Data and other attributes inherited from _AuthorizationBase:
destroyflags = <member 'destroyflags' of '_Authorization._AuthorizationBase' objects>

 
Functions
       
checkAuthorization(...)

 
Data
        __version__ = '0.1'
errAuthorizationBadAddress = AuthorizationErrors.errAuthorizationBadAddress(-60033, 'Invalid socket address requested')
errAuthorizationCanceled = AuthorizationErrors.errAuthorizationCanceled(-60006, 'The authorization was cancled by the user')
errAuthorizationDenied = AuthorizationErrors.errAuthorizationDenied(-60005, 'The authorization was denied')
errAuthorizationExternalizeNotAllowed = AuthorizationErrors.errAuthorizationExternalizeN...d(-60009, 'Authorization externalization denied')
errAuthorizationInteractionNotAllowed = AuthorizationErrors.errAuthorizationInteractionN...s denied since no user interaction was possible')
errAuthorizationInternal = AuthorizationErrors.errAuthorizationInternal(-60008, 'Something else went wrong')
errAuthorizationInternalizeNotAllowed = AuthorizationErrors.errAuthorizationInternalizeN...d(-60010, 'Authorization internalization denied')
errAuthorizationInvalidFlags = AuthorizationErrors.errAuthorizationInvalidFlags(-60011, 'Invalid option flag(s)')
errAuthorizationInvalidPointer = AuthorizationErrors.errAuthorizationInvalidPoint...004, 'The authorizedRights parameter is invalid')
errAuthorizationInvalidRef = AuthorizationErrors.errAuthorizationInvalidRef(-60002, 'The authorization parameter is invalid')
errAuthorizationInvalidSet = AuthorizationErrors.errAuthorizationInvalidSet(-60001, 'The set parameter is invalid')
errAuthorizationInvalidTag = AuthorizationErrors.errAuthorizationInvalidTag(-60003, 'The tag parameter is invalid')
errAuthorizationSuccess = AuthorizationErrors.errAuthorizationSuccess(0, 'The operation completed successfully')
errAuthorizationToolEnvironmentError = AuthorizationErrors.errAuthorizationToolEnvironm...rror(-60032, 'Privileged tool environment error')
errAuthorizationToolExecuteFailure = AuthorizationErrors.errAuthorizationToolExecuteFailure(-60031, 'Cannot execute privileged tool')
kAuthorizationEmptyEnvironment = None
kAuthorizationEnvironmentPassword = AuthorizationEnvironmentTags.kAuthorizationEnvironmentPassword('password', 'Specifies a password.')
kAuthorizationEnvironmentShared = AuthorizationEnvironmentTags.kAuthorizationEnvironmentShared('shared', 'Specifies a shared right.')
kAuthorizationEnvironmentUsername = AuthorizationEnvironmentTags.kAuthorizationEnvironmentUsername('username', 'Specifies a user name.')
kAuthorizationExternalFormLength = AuthorizationLength.kAuthorizationExternalFormLe...ray in the AuthorizationExternalForm structure.')
kAuthorizationFlagCanNotPreAuthorize = AuthorizationRights.kAuthorizationFlagCanNotPreA...curity Server could not preauthorize the right.')
kAuthorizationFlagDefaults = AuthorizationOptions.kAuthorizationFlagDefaults(..., none of the following features are available.')
kAuthorizationFlagDestroyRights = AuthorizationOptions.kAuthorizationFlagDestroyRi...m other processes that share the authorization.')
kAuthorizationFlagExtendRights = AuthorizationOptions.kAuthorizationFlagExtendRig...ght, it ignores the remaining requested rights.')
kAuthorizationFlagInteractionAllowed = AuthorizationOptions.kAuthorizationFlagInteracti...erver to interact with the user when necessary.')
kAuthorizationFlagNoData = AuthorizationOptions.kAuthorizationFlagNoData(1048576, 'Private bits. Do not use.')
kAuthorizationFlagPartialRights = AuthorizationOptions.kAuthorizationFlagPartialRi...an individual basis and all rights are checked.')
kAuthorizationFlagPreAuthorize = AuthorizationOptions.kAuthorizationFlagPreAuthor...rity Server preauthorizes the rights requested.')
kAuthorizationRightExecute = AuthorizationRightTags.kAuthorizationRightExecut...a call to AuthorizationExecuteWithPrivileges().')