MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
MLAB.GUI.AuthenticationManager Class Reference
Inheritance diagram for MLAB.GUI.AuthenticationManager:
MLAB.Core.Object MLAB.YUI.AuthenticationManager

Public Member Functions

 addUnauthenticatedModuleContext (moduleContext)
 authenticateModuleContexts ()
 getAuthentication ()
 Returns the authentication data.
 getUnauthenticatedModuleContexts ()
 Returns all unauthenticated module context.
 hasAnyUnauthenticatedModuleContext ()
 Returns true if at least one unauthenticated module context exists.
 requestAuthentication ()
 Asks the user for a user name and password to be passed as authentication to the modules.
 setAuthentication (username, password)
 Sets the authentication data.
Public Member Functions inherited from MLAB.Core.Object
 __init__ ()
 Creates a new MLAB.Core.Object.
 blockSignals (blocked)
 Sets if signals are blocked, which means that signals are suppressed in situations where they would have been emitted.
 connect (signal, receiver, slot)
 Connects a signal of this object to the slot of the receiver.
 connectCallback (signal, callback)
 Connects a signal of this object to the given callback function.
 connectSignal (signal, receiver, targetSignal)
 Connects a signal of this object to the signal of the receiver, so that if this signal is emitted, the target signal on the receiver is also emitted.
 disconnect (signal, receiver, signal)
 Disconnects a signal of this object from the slot of the receiver.
 disconnectCallback (signal, callback)
 Disconnects a signal of this object from the given callback function.
 disconnectReceiver (signal, receiver)
 Disconnects a signal of this object from all slots of the receiver.
 emit (signal)
 Emits a signal.
 isSignalRegistered ()
 Returns true if the given signal is registered.
 registerSignal (signal)
 Registers a signal.
 signalsBlocked ()
 Returns true if signals are blocked.

Detailed Description

Definition at line 303 of file GUI.py.

Member Function Documentation

◆ addUnauthenticatedModuleContext()

MLAB.GUI.AuthenticationManager.addUnauthenticatedModuleContext ( moduleContext)
Parameters
moduleContextAn MLAB.Core.ModuleContext instance.

Definition at line 321 of file GUI.py.

◆ authenticateModuleContexts()

MLAB.GUI.AuthenticationManager.authenticateModuleContexts ( )

Definition at line 339 of file GUI.py.

◆ getAuthentication()

MLAB.GUI.AuthenticationManager.getAuthentication ( )

Returns the authentication data.

Returns
An array containing the username and password strings.

Definition at line 308 of file GUI.py.

◆ getUnauthenticatedModuleContexts()

MLAB.GUI.AuthenticationManager.getUnauthenticatedModuleContexts ( )

Returns all unauthenticated module context.

Returns
Returns an array of MLAB.Core.ModuleContext instances.

Definition at line 335 of file GUI.py.

◆ hasAnyUnauthenticatedModuleContext()

MLAB.GUI.AuthenticationManager.hasAnyUnauthenticatedModuleContext ( )

Returns true if at least one unauthenticated module context exists.

Returns
Returns true or false.

Definition at line 328 of file GUI.py.

◆ requestAuthentication()

MLAB.GUI.AuthenticationManager.requestAuthentication ( )

Asks the user for a user name and password to be passed as authentication to the modules.

Needs to be implemented in a framework. This method must then call authenticateModuleContexts()

Definition at line 346 of file GUI.py.

◆ setAuthentication()

MLAB.GUI.AuthenticationManager.setAuthentication ( username,
password )

Sets the authentication data.

Parameters
usernameA string.
passwordA base64 encoded string.

Definition at line 316 of file GUI.py.


The documentation for this class was generated from the following file:
  • C:/jh/mevislab/5.0_0/build/doc.gen/public/SDK/MeVisLabWebToolkitReference/source/MLAB/GUI.py