OSPF supports area authentication and interface authentication. If both authentication modes are configured, interface authentication takes preference over area authentication.