Template for custom authenticator and identity asserter