Module ucam_wls.errors

Expand source code
class WLSError(Exception):
    "A generic error occurred in the web login service."

class InvalidAuthRequest(WLSError):
    "An invalid authentication request was received from a WAA."

class SignatureNeeded(WLSError):
    "The WLS response needs signing before further handling can be done."

class CannotHandleRequest(WLSError):
    "The web login service cannot handle the WAA request for an unspecified reason."

class ProtocolVersionUnsupported(CannotHandleRequest):
    "The web login service does not support the protocol version requested by the WAA."

class NoMutualAuthType(CannotHandleRequest):
    "The web login service does not support any of the authentication types requested by the WAA."

Classes

class CannotHandleRequest (*args, **kwargs)

The web login service cannot handle the WAA request for an unspecified reason.

Expand source code
class CannotHandleRequest(WLSError):
    "The web login service cannot handle the WAA request for an unspecified reason."

Ancestors

  • WLSError
  • builtins.Exception
  • builtins.BaseException

Subclasses

class InvalidAuthRequest (*args, **kwargs)

An invalid authentication request was received from a WAA.

Expand source code
class InvalidAuthRequest(WLSError):
    "An invalid authentication request was received from a WAA."

Ancestors

  • WLSError
  • builtins.Exception
  • builtins.BaseException
class NoMutualAuthType (*args, **kwargs)

The web login service does not support any of the authentication types requested by the WAA.

Expand source code
class NoMutualAuthType(CannotHandleRequest):
    "The web login service does not support any of the authentication types requested by the WAA."

Ancestors

class ProtocolVersionUnsupported (*args, **kwargs)

The web login service does not support the protocol version requested by the WAA.

Expand source code
class ProtocolVersionUnsupported(CannotHandleRequest):
    "The web login service does not support the protocol version requested by the WAA."

Ancestors

class SignatureNeeded (*args, **kwargs)

The WLS response needs signing before further handling can be done.

Expand source code
class SignatureNeeded(WLSError):
    "The WLS response needs signing before further handling can be done."

Ancestors

  • WLSError
  • builtins.Exception
  • builtins.BaseException
class WLSError (*args, **kwargs)

A generic error occurred in the web login service.

Expand source code
class WLSError(Exception):
    "A generic error occurred in the web login service."

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses