Several constants are defined in the krb5 module. Some are used for setting up the Authentication Context objects and other are used to test for specific values of Krb5Error.err_code.