def METHOD_NAME(self, access_class: str = "allow") -> Optional[dict]:
    """Get address credentials entry of the specified access class. access_class = "allow" or "deny"."""
    entries = self.credentials.get(access_class, [])
    address_entries = [entry for entry in entries if entry.get("type") == "address"]
    return address_entries[0] if address_entries else None