MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
AuthenticateResponse Class Reference

#include <authenticateresponse.h>

Public Member Functions

 AuthenticateResponse (const AuthenticateResponse &response)
 
AuthenticateResponseoperator= (const AuthenticateResponse &other)
 
QString authSessionId () const
 
bool hasPrompts () const
 
QList< Promptprompts () const
 
bool success () const
 
QString errorMessage () const
 
QString banner () const
 
QString token () const
 
bool isValid () const
 

Static Public Member Functions

static AuthenticateResponse fromXml (const QString &xml)
 

Detailed Description

class used to model UIT AuthenticateResponse

Member Function Documentation

QString authSessionId ( ) const
Returns
The current UIT auth session id
bool hasPrompts ( ) const
Returns
True is the underlying UIT message has user prompts, false otherwise
QList<Prompt> prompts ( ) const
Returns
The list of prompts that need to presented to the user.
bool success ( ) const
Returns
true, if the authenticateUser() call was successful, false otherwise.
QString errorMessage ( ) const
Returns
Any error message associated with this response.
QString banner ( ) const
Returns
Banner text to be displayed to the user along with the prompts.
QString token ( ) const
Returns
The session token returned when authentication was successful.
bool isValid ( ) const
Returns
true is the XML message provided by the server was valid, false otherwise.
static AuthenticateResponse fromXml ( const QString &  xml)
static

Static method to create a AuthenticateResponse instance from a incoming XML message.

Parameters
TheXML message.

The documentation for this class was generated from the following file: