pyuaf.util.usertokentypes

This module defines the types user tokens, i.e. the ways how users can identify themselves.

  • Attributes:

    usertokentypes.Anonymous = 0

    No token is required.

    usertokentypes.UserName = 1

    Username/password token is required.

    usertokentypes.Certificate = 2

    Certificate token is required.

    usertokentypes.IssuedToken = 3

    A WS-Security token is required.

  • Functions:

    pyuaf.util.usertokentypes.toString(type)

    Get a string representation of the user token type type.

    Parameters:type (int) – The type, e.g. pyuaf.util.usertokentypes.UserName.
    Returns:The name of the type, e.g. ‘UserName’.
    Return type:str