def _authn_context_decl(decl, authn_auth=None):
 return factory(saml.AuthnContext, authn_context_decl=decl, authenticating_authority=factory(saml.AuthenticatingAuthority, text=authn_auth))

def _authn_context_decl ( decl , authn_auth = None ) : return factory ( saml . AuthnContext , authn_context_decl = decl , authenticating_authority = factory ( saml . AuthenticatingAuthority , text = authn_auth ) )
construct the authn context with a authn context declaration .